summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-26 10:08:45 +1000
committerPauli <ppzgs1@gmail.com>2021-02-28 17:25:49 +1000
commit36fae6e85a12c46b48d82762911c74e53ec0cc13 (patch)
treec7807d0bb33d82ee69931bc54f3ab9c7cd2f790e /crypto/pkcs12
parentbb0ab821f38427576e4f25bb66818bc297ee8b22 (diff)
crypto: add additional argument to KDF derive calls
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'crypto/pkcs12')
-rw-r--r--crypto/pkcs12/p12_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs12/p12_key.c b/crypto/pkcs12/p12_key.c
index 7c4056a8f8..8c7be88cd2 100644
--- a/crypto/pkcs12/p12_key.c
+++ b/crypto/pkcs12/p12_key.c
@@ -105,7 +105,7 @@ int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt,
BIO_printf(trc_out, "\n");
} OSSL_TRACE_END(PKCS12_KEYGEN);
- if (EVP_KDF_derive(ctx, out, (size_t)n)) {
+ if (EVP_KDF_derive(ctx, out, (size_t)n, NULL)) {
res = 1;
OSSL_TRACE_BEGIN(PKCS12_KEYGEN) {
BIO_printf(trc_out, "Output KEY (length %d)\n", n);