[openssl] openssl-3.0 update
Dr. Paul Dale
pauli at openssl.org
Thu Sep 9 06:42:21 UTC 2021
The branch openssl-3.0 has been updated
via c076f7b6d53454b5a3a1c837a5ea71b7c6fbebe9 (commit)
from 03943ae71dfd1ac37cb9675197ea59cc2718f099 (commit)
- Log -----------------------------------------------------------------
commit c076f7b6d53454b5a3a1c837a5ea71b7c6fbebe9
Author: Pauli <pauli at openssl.org>
Date: Wed Sep 8 09:28:57 2021 +1000
Fix the example SSH KDF code.
A salt was being set instead of a session ID.
Fixes #16525
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16550)
(cherry picked from commit 81280137a1f33685d7d7fc531ea8fbac38e9a4b7)
-----------------------------------------------------------------------
Summary of changes:
doc/man7/EVP_KDF-SSHKDF.pod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/man7/EVP_KDF-SSHKDF.pod b/doc/man7/EVP_KDF-SSHKDF.pod
index 74d1b71aca..08369abff1 100644
--- a/doc/man7/EVP_KDF-SSHKDF.pod
+++ b/doc/man7/EVP_KDF-SSHKDF.pod
@@ -121,7 +121,7 @@ This example derives an 8 byte IV using SHA-256 with a 1K "key" and appropriate
key, (size_t)1024);
*p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SSHKDF_XCGHASH,
xcghash, (size_t)32);
- *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SALT,
+ *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SSHKDF_SESSION_ID,
session_id, (size_t)32);
*p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_SSHKDF_TYPE,
&type, sizeof(type));
More information about the openssl-commits
mailing list