summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_stat.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-06-13 15:29:20 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-06-13 15:29:20 +0000
commit538ce9db7512e27651658456df506aa32a003b68 (patch)
treea142ba321e5b59f65c691e243cd777fa4406bd8e /lib/libssl/ssl_stat.c
parentabf232052373c96a5c318c6441da1bd1bcafc847 (diff)
Remove references to obsolete alerts.
The "no_certificate" alert only existed in SSLv3, while the "decryption_failed" and "export_restriction" alerts were removed in TLSv1.1. ok tb@
Diffstat (limited to 'lib/libssl/ssl_stat.c')
-rw-r--r--lib/libssl/ssl_stat.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/lib/libssl/ssl_stat.c b/lib/libssl/ssl_stat.c
index b813ac68964..67f52225023 100644
--- a/lib/libssl/ssl_stat.c
+++ b/lib/libssl/ssl_stat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_stat.c,v 1.15 2021/06/11 17:29:48 jsing Exp $ */
+/* $OpenBSD: ssl_stat.c,v 1.16 2021/06/13 15:29:19 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -593,9 +593,6 @@ SSL_alert_desc_string(int value)
case SSL_AD_HANDSHAKE_FAILURE:
str = "HF";
break;
- case SSL_AD_NO_CERTIFICATE:
- str = "NC";
- break;
case SSL_AD_BAD_CERTIFICATE:
str = "BC";
break;
@@ -614,9 +611,6 @@ SSL_alert_desc_string(int value)
case SSL_AD_ILLEGAL_PARAMETER:
str = "IP";
break;
- case SSL_AD_DECRYPTION_FAILED:
- str = "DC";
- break;
case SSL_AD_RECORD_OVERFLOW:
str = "RO";
break;
@@ -632,9 +626,6 @@ SSL_alert_desc_string(int value)
case SSL_AD_DECRYPT_ERROR:
str = "CY";
break;
- case SSL_AD_EXPORT_RESTRICTION:
- str = "ER";
- break;
case SSL_AD_PROTOCOL_VERSION:
str = "PV";
break;
@@ -696,9 +687,6 @@ SSL_alert_desc_string_long(int value)
case SSL_AD_HANDSHAKE_FAILURE:
str = "handshake failure";
break;
- case SSL_AD_NO_CERTIFICATE:
- str = "no certificate";
- break;
case SSL_AD_BAD_CERTIFICATE:
str = "bad certificate";
break;
@@ -717,9 +705,6 @@ SSL_alert_desc_string_long(int value)
case SSL_AD_ILLEGAL_PARAMETER:
str = "illegal parameter";
break;
- case SSL_AD_DECRYPTION_FAILED:
- str = "decryption failed";
- break;
case SSL_AD_RECORD_OVERFLOW:
str = "record overflow";
break;
@@ -735,9 +720,6 @@ SSL_alert_desc_string_long(int value)
case SSL_AD_DECRYPT_ERROR:
str = "decrypt error";
break;
- case SSL_AD_EXPORT_RESTRICTION:
- str = "export restriction";
- break;
case SSL_AD_PROTOCOL_VERSION:
str = "protocol version";
break;