EVP_KDF-SSHKDF example uses OSSL_KDF_PARAM_SALT instead of OSSL_KDF_PARAM_SSHKDF_SESSION_ID #16525
Labels
branch: master
Merge to master branch
branch: 3.0
Merge to openssl-3.0 branch
triaged: documentation
The issue/pr deals with documentation (errors)
The code example in the documentation for EVP_KDF-SSHKDF (https://github.com/openssl/openssl/blob/master/doc/man7/EVP_KDF-SSHKDF.pod) uses the
OSSL_KDF_PARAM_SALT
parameter name to pass the session ID instead ofOSSL_KDF_PARAM_SSHKDF_SESSION_ID
.Running the code example will result in an error ("missing session id"), see https://github.com/openssl/openssl/blob/master/providers/implementations/kdfs/sshkdf.c#L119. The example should be updated to use
OSSL_KDF_PARAM_SSHKDF_SESSION_ID
.The text was updated successfully, but these errors were encountered: