diff options
author | Tomas Mraz <tomas@openssl.org> | 2022-12-09 13:27:02 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-12-13 10:10:57 +1100 |
commit | 97b8db1af2f71059ecea986e4d12fc6a23699a74 (patch) | |
tree | 088eac4eca6faedb54863b022f0ba26d015a9130 /ssl/ssl_err.c | |
parent | d89e0361d5ff5b32c24edac6c60c5ae38714e6c3 (diff) | |
download | openssl-97b8db1af2f71059ecea986e4d12fc6a23699a74.tar.gz |
Make error reason for disallowed legacy sigalg more specific
The internal error reason is confusing and indicating an error
in OpenSSL and not a configuration problem.
Fixes #19867
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19875)
Diffstat (limited to 'ssl/ssl_err.c')
-rw-r--r-- | ssl/ssl_err.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index 7345a3f5e2..73dedbc5b3 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -230,6 +230,8 @@ static const ERR_STRING_DATA SSL_str_reasons[] = { "invalid status response"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_INVALID_TICKET_KEYS_LENGTH), "invalid ticket keys length"}, + {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LEGACY_SIGALG_DISALLOWED_OR_UNSUPPORTED), + "legacy sigalg disallowed or unsupported"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_MISMATCH), "length mismatch"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_TOO_LONG), "length too long"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_LENGTH_TOO_SHORT), "length too short"}, |