mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
[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