summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-12-09 13:27:02 +0100
committerPauli <pauli@openssl.org>2022-12-13 10:11:30 +1100
commit4d2d39c960937134bbbfa4fb8a14c1329ac1eb93 (patch)
treeacfc27bcb3103872ab213a961a3ac9abc223e4eb /include
parent2f05fe946bcc57c99415eead22154d4b4855afe6 (diff)
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) (cherry picked from commit 97b8db1af2f71059ecea986e4d12fc6a23699a74)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/sslerr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/sslerr.h b/include/openssl/sslerr.h
index a4746d70b5..b156fc2ffd 100644
--- a/include/openssl/sslerr.h
+++ b/include/openssl/sslerr.h
@@ -150,6 +150,7 @@
# define SSL_R_INVALID_SRP_USERNAME 357
# define SSL_R_INVALID_STATUS_RESPONSE 328
# define SSL_R_INVALID_TICKET_KEYS_LENGTH 325
+# define SSL_R_LEGACY_SIGALG_DISALLOWED_OR_UNSUPPORTED 333
# define SSL_R_LENGTH_MISMATCH 159
# define SSL_R_LENGTH_TOO_LONG 404
# define SSL_R_LENGTH_TOO_SHORT 160