[Crypto] Delete mbedtls ctx in deconstructor.
Would cause memory leak when the context was `start`ed but not `finish`ed.
This commit is contained in:
@ -119,6 +119,7 @@ public:
|
||||
virtual PackedByteArray finish();
|
||||
|
||||
HMACContextMbedTLS() {}
|
||||
~HMACContextMbedTLS();
|
||||
};
|
||||
|
||||
class CryptoMbedTLS : public Crypto {
|
||||
|
||||
Reference in New Issue
Block a user