summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJacob Champion <jacob.champion@enterprisedb.com>2024-05-06 09:50:11 -0700
committerTomas Mraz <tomas@openssl.org>2024-05-14 15:30:49 +0200
commitbebc760f9c8015fd9943a05a06cae01e14f354af (patch)
tree89bf40c76caaa9df7b837575c83a23c9268b4085 /crypto
parent5fd8055b4484e35b29741ccf42d17df9dd24c749 (diff)
Add reason codes with the correct offset for two alerts
Fixes #24300. The current values of SSL_R_NO_APPLICATION_PROTOCOL and SSL_R_PSK_IDENTITY_NOT_FOUND don't allow for a correct lookup of the corresponding reason strings. CLA: trivial Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24338) (cherry picked from commit 9e33c9c48f6cde4d607a4205476b2faf442e9cb5)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/err/openssl.ec4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/err/openssl.ec b/crypto/err/openssl.ec
index 3612c195f0..f3802a05b5 100644
--- a/crypto/err/openssl.ec
+++ b/crypto/err/openssl.ec
@@ -76,6 +76,6 @@ R SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE 1111
R SSL_R_TLSV1_UNRECOGNIZED_NAME 1112
R SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE 1113
R SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE 1114
-R TLS1_AD_UNKNOWN_PSK_IDENTITY 1115
+R SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY 1115
R SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED 1116
-R TLS1_AD_NO_APPLICATION_PROTOCOL 1120
+R SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL 1120