summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Gautier <baloo@superbaloo.net>2021-03-14 22:23:01 +0000
committerPauli <ppzgs1@gmail.com>2021-03-17 12:32:39 +1000
commit4139a0c6ec4633351929fdde728dc984f562c51c (patch)
tree0293bdf8c87448f245574b5e3dae87ed73ee4209
parent1f79baa55ee00c64372397292ab9c88b5c373d93 (diff)
EVP_KDF-KB man page: fixup ABI/API change
fixup 7c75f2daf8b50c92bfb5c17fa62136e61f6eb515 https://github.com/openssl/openssl/pull/14310 Previous commit changes the api, one code sample was left with previous API. CLA: trivial Signed-off-by: Arthur Gautier <baloo@superbaloo.net> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14551)
-rw-r--r--doc/man7/EVP_KDF-KB.pod4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/man7/EVP_KDF-KB.pod b/doc/man7/EVP_KDF-KB.pod
index 2ab3e55076..3020a42a81 100644
--- a/doc/man7/EVP_KDF-KB.pod
+++ b/doc/man7/EVP_KDF-KB.pod
@@ -138,9 +138,7 @@ Label "label", and IV "sixteen bytes iv".
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SEED,
iv, strlen(iv));
*p = OSSL_PARAM_construct_end();
- if (EVP_KDF_CTX_set_params(kctx, params) <= 0)
- error("EVP_KDF_CTX_set_params");
- else if (EVP_KDF_derive(kctx, out, sizeof(out)) <= 0)
+ if (EVP_KDF_derive(kctx, out, sizeof(out), params) <= 0)
error("EVP_KDF_derive");
EVP_KDF_CTX_free(kctx);