aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-22 21:12:14 -0400
committerJack Lloyd <[email protected]>2017-09-22 21:12:14 -0400
commit6693a5f32d589b66eba7c9a9e144ebd1b70cee57 (patch)
tree1720413aa0b199896bd66ab695500d74077a7383 /src/lib
parent736cb8b967a5c242907dc6999a460bdc6a2b4143 (diff)
Refer to free in std::
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/prov/openssl/openssl_rsa.cpp2
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));
}