summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hmac/hm_ameth.c
diff options
context:
space:
mode:
authorbeck <>2014-04-17 13:37:50 +0000
committerbeck <>2014-04-17 13:37:50 +0000
commit6aa5f85bab6ba5f9189fbc3d53a12e0f6dae48dd (patch)
tree7595a93a27385c367802aa17ecf20f96551cf14d /src/lib/libcrypto/hmac/hm_ameth.c
parent4d13fb9c7b5ac7311d7031173c21ab0121388413 (diff)
downloadopenbsd-6aa5f85bab6ba5f9189fbc3d53a12e0f6dae48dd.tar.gz
openbsd-6aa5f85bab6ba5f9189fbc3d53a12e0f6dae48dd.tar.bz2
openbsd-6aa5f85bab6ba5f9189fbc3d53a12e0f6dae48dd.zip
Change library to use intrinsic memory allocation functions instead of
OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
Diffstat (limited to 'src/lib/libcrypto/hmac/hm_ameth.c')
-rw-r--r--src/lib/libcrypto/hmac/hm_ameth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hmac/hm_ameth.c b/src/lib/libcrypto/hmac/hm_ameth.c
index e03f24aeda..fbada40d9c 100644
--- a/src/lib/libcrypto/hmac/hm_ameth.c
+++ b/src/lib/libcrypto/hmac/hm_ameth.c
@@ -122,7 +122,7 @@ static int old_hmac_encode(const EVP_PKEY *pkey, unsigned char **pder)
122 { 122 {
123 if (!*pder) 123 if (!*pder)
124 { 124 {
125 *pder = OPENSSL_malloc(os->length); 125 *pder = malloc(os->length);
126 inc = 0; 126 inc = 0;
127 } 127 }
128 else inc = 1; 128 else inc = 1;