diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/kdf/tls1_prf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/kdf/tls1_prf.c b/src/lib/libcrypto/kdf/tls1_prf.c index 5b6ea97241..e2086e8d29 100644 --- a/src/lib/libcrypto/kdf/tls1_prf.c +++ b/src/lib/libcrypto/kdf/tls1_prf.c | |||
@@ -37,7 +37,7 @@ static int pkey_tls1_prf_init(EVP_PKEY_CTX *ctx) | |||
37 | { | 37 | { |
38 | TLS1_PRF_PKEY_CTX *kctx; | 38 | TLS1_PRF_PKEY_CTX *kctx; |
39 | 39 | ||
40 | if ((kctx = OPENSSL_zalloc(sizeof(*kctx))) == NULL) { | 40 | if ((kctx = calloc(1, sizeof(*kctx))) == NULL) { |
41 | KDFerror(ERR_R_MALLOC_FAILURE); | 41 | KDFerror(ERR_R_MALLOC_FAILURE); |
42 | return 0; | 42 | return 0; |
43 | } | 43 | } |