doc: document additional argument to KDF derive calls
[openssl.git] / doc / man7 / EVP_KDF-X963.pod
index b814fe5b47ae559e69bf92d41a3f01e19ae962d0..3272e1e7550751c090e570fbafb59b017447d832 100644 (file)
@@ -72,10 +72,7 @@ value "label":
  *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_INFO,
                                           "label", (size_t)5);
  *p = OSSL_PARAM_construct_end();
- if (EVP_KDF_CTX_set_params(kctx, params) <= 0) {
-     error("EVP_KDF_CTX_set_params");
- }
- if (EVP_KDF_derive(kctx, out, sizeof(out)) <= 0) {
+ if (EVP_KDF_derive(kctx, out, sizeof(out), params) <= 0) {
      error("EVP_KDF_derive");
  }