From: Pauli Date: Fri, 26 Feb 2021 00:09:27 +0000 (+1000) Subject: prov: add additional argument to KDF derive call in key exchange X-Git-Tag: openssl-3.0.0-alpha13~110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5081be376dfecb193db647b97d0fb2033760a4c;p=thirdparty%2Fopenssl.git prov: add additional argument to KDF derive call in key exchange Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14310) --- diff --git a/providers/implementations/exchange/kdf_exch.c b/providers/implementations/exchange/kdf_exch.c index 2a299fbda86..7b6b12af699 100644 --- a/providers/implementations/exchange/kdf_exch.c +++ b/providers/implementations/exchange/kdf_exch.c @@ -101,7 +101,7 @@ static int kdf_derive(void *vpkdfctx, unsigned char *secret, size_t *secretlen, return 1; } - return EVP_KDF_derive(pkdfctx->kdfctx, secret, outlen); + return EVP_KDF_derive(pkdfctx->kdfctx, secret, outlen, NULL); } static void kdf_freectx(void *vpkdfctx)