diff options
author | Arthur Gautier <baloo@superbaloo.net> | 2021-03-14 23:23:01 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-03-17 03:32:39 +0100 |
commit | 4139a0c6ec4633351929fdde728dc984f562c51c (patch) | |
tree | 0293bdf8c87448f245574b5e3dae87ed73ee4209 /doc/man7/EVP_KDF-KB.pod | |
parent | Remove TODOs from digest.c (diff) | |
download | openssl-4139a0c6ec4633351929fdde728dc984f562c51c.tar.xz openssl-4139a0c6ec4633351929fdde728dc984f562c51c.zip |
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)
Diffstat (limited to 'doc/man7/EVP_KDF-KB.pod')
-rw-r--r-- | doc/man7/EVP_KDF-KB.pod | 4 |
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); |