diff options
author | Pauli <paul.dale@oracle.com> | 2019-09-15 09:44:14 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-09-15 11:54:55 +1000 |
commit | a218770d4de819afc9453284dc13b609eeea4639 (patch) | |
tree | 76eaae6026844327f606a4aa65d0a53a84647789 /doc/man7/EVP_KDF-TLS1_PRF.pod | |
parent | f3f3318a25e62f471a69e1e8dd117bf30191da20 (diff) |
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-TLS1_PRF.pod')
-rw-r--r-- | doc/man7/EVP_KDF-TLS1_PRF.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man7/EVP_KDF-TLS1_PRF.pod b/doc/man7/EVP_KDF-TLS1_PRF.pod index a04f811792..2adcf9f0aa 100644 --- a/doc/man7/EVP_KDF-TLS1_PRF.pod +++ b/doc/man7/EVP_KDF-TLS1_PRF.pod @@ -80,8 +80,8 @@ and seed value "seed": *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SEED, "seed", (size_t)4); *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"); |