[openssl/openssl] 86f3fa: rsa: Accept NULL OAEP label for backward compatibi...
Daiki Ueno
noreply at github.com
Wed Oct 18 14:28:16 UTC 2023
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 86f3fae5f8fb4d9cb96ea9b34250cd3abc3038ef
https://github.com/openssl/openssl/commit/86f3fae5f8fb4d9cb96ea9b34250cd3abc3038ef
Author: Daiki Ueno <dueno at redhat.com>
Date: 2023-10-18 (Wed, 18 Oct 2023)
Changed paths:
M crypto/rsa/rsa_lib.c
M test/evp_extra_test.c
Log Message:
-----------
rsa: Accept NULL OAEP label for backward compatibility
According to the manual page, EVP_PKEY_CTX_set0_rsa_oaep_label()
should accept NULL as the label argument, though the function
currently rejects it while setting the corresponding octet string
parameter with OSSL_PARAM_construct_octet_string, which expects
non-NULL input. This adds a workaround to the caller for backward
compatibility.
Signed-off-by: Daiki Ueno <dueno at redhat.com>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22397)
(cherry picked from commit 21b98da9d80c561b6273b0c51c259196d6740e70)
More information about the openssl-commits
mailing list