summaryrefslogtreecommitdiffstats
path: root/ssl/tls1.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2006-01-07 20:28:11 +0000
committerBodo Möller <bodo@openssl.org>2006-01-07 20:28:11 +0000
commit3ff94a009b8dcf948d8f1afb2f0220a50378b71f (patch)
treeda7f0db33a2538092697b4205895cc41110bacae /ssl/tls1.h
parent1aeb3da83f267bc5e7cb9e7bd72dc0e07a751ba3 (diff)
complete and correct RFC3546 error codes
Diffstat (limited to 'ssl/tls1.h')
-rw-r--r--ssl/tls1.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ssl/tls1.h b/ssl/tls1.h
index 274866f493..532852d3e8 100644
--- a/ssl/tls1.h
+++ b/ssl/tls1.h
@@ -149,7 +149,12 @@ extern "C" {
#define TLS1_AD_INTERNAL_ERROR 80 /* fatal */
#define TLS1_AD_USER_CANCELLED 90
#define TLS1_AD_NO_RENEGOTIATION 100
-#define TLS1_AD_UNRECOGNIZED_NAME 122
+/* codes 110-114 are from RFC3546 */
+#define TLS1_AD_UNSUPPORTED_EXTENSION 110
+#define TLS1_AD_CERTIFICATE_UNOBTAINABLE 111
+#define TLS1_AD_UNRECOGNIZED_NAME 112
+#define TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE 113
+#define TLS1_AD_BAD_CERTIFICATE_HASH_VALUE 114
/* ExtensionType values from RFC 3546 */
#define TLSEXT_TYPE_server_name 0