aboutsummaryrefslogtreecommitdiff
path: root/providers/implementations/exchange
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-26 10:09:27 +1000
committerPauli <ppzgs1@gmail.com>2021-02-28 17:25:49 +1000
commitf5081be376dfecb193db647b97d0fb2033760a4c (patch)
tree4bac3c9d40a25d01ef5a7caefc58da6872b5b254 /providers/implementations/exchange
parent6bcd32a43fffc944c1f06f018dd52eeefd286e7c (diff)
downloadopenssl-f5081be376dfecb193db647b97d0fb2033760a4c.zip
openssl-f5081be376dfecb193db647b97d0fb2033760a4c.tar.gz
openssl-f5081be376dfecb193db647b97d0fb2033760a4c.tar.bz2
prov: add additional argument to KDF derive call in key exchange
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'providers/implementations/exchange')
-rw-r--r--providers/implementations/exchange/kdf_exch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/exchange/kdf_exch.c b/providers/implementations/exchange/kdf_exch.c
index 2a299fb..7b6b12a 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)