summaryrefslogtreecommitdiffstats
path: root/doc/man7/EVP_KDF-X942.pod
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-09-15 01:44:14 +0200
committerPauli <paul.dale@oracle.com>2019-09-15 03:54:55 +0200
commita218770d4de819afc9453284dc13b609eeea4639 (patch)
tree76eaae6026844327f606a4aa65d0a53a84647789 /doc/man7/EVP_KDF-X942.pod
parentfix CRMF symmetric key handling (diff)
downloadopenssl-a218770d4de819afc9453284dc13b609eeea4639.tar.xz
openssl-a218770d4de819afc9453284dc13b609eeea4639.zip
Fix examples in the section 7 KDF man pages.
All of the examples called EVP_KDF_set_params() when they should have been calling EVP_KDF_CTX_set_params(). Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9898)
Diffstat (limited to 'doc/man7/EVP_KDF-X942.pod')
-rw-r--r--doc/man7/EVP_KDF-X942.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man7/EVP_KDF-X942.pod b/doc/man7/EVP_KDF-X942.pod
index 0b02f2d403..83478f1be9 100644
--- a/doc/man7/EVP_KDF-X942.pod
+++ b/doc/man7/EVP_KDF-X942.pod
@@ -85,8 +85,8 @@ keying material:
SN_id_smime_alg_CMS3DESwrap,
strlen(SN_id_smime_alg_CMS3DESwrap));
*p = OSSL_PARAM_construct_end();
- if (EVP_KDF_set_params(kctx, params) <= 0)
- error("EVP_KDF_set_params");
+ if (EVP_KDF_CTX_set_params(kctx, params) <= 0)
+ error("EVP_KDF_CTX_set_params");
if (EVP_KDF_derive(kctx, out, sizeof(out)) <= 0)
error("EVP_KDF_derive");