diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-26 10:09:49 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-28 17:25:49 +1000 |
commit | 6980e36a2aab7a916e8bdcdb70ee03ebaa1bc1cf (patch) | |
tree | 09c1745b1448002369b0dd810256b1a1812170ec /doc/man7/EVP_KDF-KRB5KDF.pod | |
parent | f5081be376dfecb193db647b97d0fb2033760a4c (diff) |
doc: document additional argument to KDF derive calls
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'doc/man7/EVP_KDF-KRB5KDF.pod')
-rw-r--r-- | doc/man7/EVP_KDF-KRB5KDF.pod | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/man7/EVP_KDF-KRB5KDF.pod b/doc/man7/EVP_KDF-KRB5KDF.pod index 8d730d40b8..874b4d9753 100644 --- a/doc/man7/EVP_KDF-KRB5KDF.pod +++ b/doc/man7/EVP_KDF-KRB5KDF.pod @@ -81,10 +81,7 @@ This example derives a key using the AES-128-CBC cipher: *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_CONSTANT, constant, strlen(constant)); *p = OSSL_PARAM_construct_end(); - if (EVP_KDF_set_params(kctx, params) <= 0) - /* Error */ - - if (EVP_KDF_derive(kctx, out, outlen) <= 0) + if (EVP_KDF_derive(kctx, out, outlen, params) <= 0) /* Error */ EVP_KDF_CTX_free(kctx); |