From 6693a5f32d589b66eba7c9a9e144ebd1b70cee57 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 22 Sep 2017 21:12:14 -0400 Subject: Refer to free in std:: --- src/lib/prov/openssl/openssl_rsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 keydata(der, der + bytes); memset(der, 0, bytes); - free(der); + std::free(der); return std::unique_ptr (new RSA_PrivateKey(AlgorithmIdentifier(), keydata)); } -- cgit v1.2.3