diff options
Diffstat (limited to 'src/lib/libcrypto/hmac/hm_ameth.c')
-rw-r--r-- | src/lib/libcrypto/hmac/hm_ameth.c | 2 |
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; |