]> git.ipfire.org Git - thirdparty/openssl.git/commit
RSA-PSS: When printing parameters, always print the trailerfield ASN.1 value
authorRichard Levitte <levitte@openssl.org>
Wed, 24 Mar 2021 18:51:01 +0000 (19:51 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 26 Mar 2021 10:25:48 +0000 (11:25 +0100)
commit814581bb7a1360ee054ad3500cd0907fbfeef915
treeb1b0628072018db7958c0a95dec702139aaf7755
parent4551763efc8c9d2e39f3d39430cb4657d155cde6
RSA-PSS: When printing parameters, always print the trailerfield ASN.1 value

The legacy implementation would print the ASN.1 value of the trailerfield,
except when it wasn't set (i.e. is default).

For better consistency, we now always print the ASN.1 value, both in the
legacy and the provided implementation.

Fixes #14363

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14676)
crypto/rsa/rsa_ameth.c
providers/implementations/encode_decode/encode_key2text.c