diff options
author | Jack Lloyd <[email protected]> | 2016-11-22 11:11:28 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-22 11:11:28 -0500 |
commit | a3f78cf901e71ced6eff3d49f6759d6d65798c12 (patch) | |
tree | 1c9753749a07197f79a2028d2d112145a1742594 /src/lib/kdf/hkdf | |
parent | 750eb24df417b401012595147dfc7a473b7af7e9 (diff) |
Fix memory leak in HKDF
Diffstat (limited to 'src/lib/kdf/hkdf')
-rw-r--r-- | src/lib/kdf/hkdf/hkdf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kdf/hkdf/hkdf.h b/src/lib/kdf/hkdf/hkdf.h index 5ab253420..5ad389aeb 100644 --- a/src/lib/kdf/hkdf/hkdf.h +++ b/src/lib/kdf/hkdf/hkdf.h @@ -36,7 +36,7 @@ class BOTAN_DLL HKDF final : public KDF const byte label[], size_t label_len) const override; private: - MessageAuthenticationCode* m_prf; + std::unique_ptr<MessageAuthenticationCode> m_prf; }; /** |