diff options
author | Jack Lloyd <[email protected]> | 2017-09-22 21:12:14 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-22 21:12:14 -0400 |
commit | 6693a5f32d589b66eba7c9a9e144ebd1b70cee57 (patch) | |
tree | 1720413aa0b199896bd66ab695500d74077a7383 /src/lib | |
parent | 736cb8b967a5c242907dc6999a460bdc6a2b4143 (diff) |
Refer to free in std::
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/prov/openssl/openssl_rsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/openssl/openssl_rsa.cpp b/src/lib/prov/openssl/openssl_rsa.cpp index a7ba6e3e9..fae869b75 100644 --- a/src/lib/prov/openssl/openssl_rsa.cpp +++ b/src/lib/prov/openssl/openssl_rsa.cpp @@ -295,7 +295,7 @@ make_openssl_rsa_private_key(RandomNumberGenerator& rng, size_t rsa_bits) const secure_vector<uint8_t> keydata(der, der + bytes); memset(der, 0, bytes); - free(der); + std::free(der); return std::unique_ptr<Botan::RSA_PrivateKey> (new RSA_PrivateKey(AlgorithmIdentifier(), keydata)); } |