summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-03 20:15:30 +0200
committerGitHub <noreply@github.com>2021-07-03 20:15:30 +0200
commitaf1543ded5579fec6c8573d1343af2329e5c55ac (patch)
treee11a6f2fa33920a9f4d345916bb3e70d23ee791c /core
parente849dc1791cd064b3b9736ac91f0ae9fae3bc8d9 (diff)
parenta28d25c44181ded80c80f7ae18ea75ce28e00eec (diff)
Merge pull request #50128 from Faless/mbedtls/hmac_free
[Crypto] Delete mbedtls ctx in deconstructor.
Diffstat (limited to 'core')
-rw-r--r--core/crypto/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/crypto/crypto.h b/core/crypto/crypto.h
index a2ccbba58a..a46f42949d 100644
--- a/core/crypto/crypto.h
+++ b/core/crypto/crypto.h
@@ -82,6 +82,7 @@ public:
virtual PackedByteArray finish() = 0;
HMACContext() {}
+ virtual ~HMACContext() {}
};
class Crypto : public RefCounted {