summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/p_lib.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2000-12-15 02:56:47 +0000
committerbeck <beck@openbsd.org>2000-12-15 02:56:47 +0000
commitc109e39817e8a1f78064639800aed6d6d86a84c0 (patch)
tree71e7f91e52cf77279251ad187cba7df277fbeac5 /lib/libcrypto/evp/p_lib.c
parentremove section talking about photuris limitations (diff)
downloadwireguard-openbsd-c109e39817e8a1f78064639800aed6d6d86a84c0.tar.xz
wireguard-openbsd-c109e39817e8a1f78064639800aed6d6d86a84c0.zip
openssl-engine-0.9.6 merge
Diffstat (limited to 'lib/libcrypto/evp/p_lib.c')
-rw-r--r--lib/libcrypto/evp/p_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/evp/p_lib.c b/lib/libcrypto/evp/p_lib.c
index 4cb387f8de1..62398ed74dc 100644
--- a/lib/libcrypto/evp/p_lib.c
+++ b/lib/libcrypto/evp/p_lib.c
@@ -180,7 +180,7 @@ EVP_PKEY *EVP_PKEY_new(void)
{
EVP_PKEY *ret;
- ret=(EVP_PKEY *)Malloc(sizeof(EVP_PKEY));
+ ret=(EVP_PKEY *)OPENSSL_malloc(sizeof(EVP_PKEY));
if (ret == NULL)
{
EVPerr(EVP_F_EVP_PKEY_NEW,ERR_R_MALLOC_FAILURE);
@@ -302,7 +302,7 @@ void EVP_PKEY_free(EVP_PKEY *x)
}
#endif
EVP_PKEY_free_it(x);
- Free(x);
+ OPENSSL_free(x);
}
static void EVP_PKEY_free_it(EVP_PKEY *x)