summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/tls1.h')
-rw-r--r--src/lib/libssl/tls1.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h
index 628a6b2fca..771ed96fc9 100644
--- a/src/lib/libssl/tls1.h
+++ b/src/lib/libssl/tls1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls1.h,v 1.42 2021/03/10 18:32:38 jsing Exp $ */ 1/* $OpenBSD: tls1.h,v 1.43 2021/06/13 15:47:11 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -185,12 +185,7 @@ extern "C" {
185 ((s->client_version >> 8) == TLS1_VERSION_MAJOR ? s->client_version : 0) 185 ((s->client_version >> 8) == TLS1_VERSION_MAJOR ? s->client_version : 0)
186#endif 186#endif
187 187
188/* 188#ifndef LIBRESSL_INTERNAL
189 * TLS Alert codes.
190 *
191 * https://www.iana.org/assignments/tls-parameters/#tls-parameters-6
192 */
193
194#define TLS1_AD_DECRYPTION_FAILED 21 189#define TLS1_AD_DECRYPTION_FAILED 21
195#define TLS1_AD_RECORD_OVERFLOW 22 190#define TLS1_AD_RECORD_OVERFLOW 22
196#define TLS1_AD_UNKNOWN_CA 48 /* fatal */ 191#define TLS1_AD_UNKNOWN_CA 48 /* fatal */
@@ -213,6 +208,7 @@ extern "C" {
213#define TLS1_AD_BAD_CERTIFICATE_HASH_VALUE 114 208#define TLS1_AD_BAD_CERTIFICATE_HASH_VALUE 114
214/* Code 115 from RFC 4279. */ 209/* Code 115 from RFC 4279. */
215#define TLS1_AD_UNKNOWN_PSK_IDENTITY 115 /* fatal */ 210#define TLS1_AD_UNKNOWN_PSK_IDENTITY 115 /* fatal */
211#endif
216 212
217/* 213/*
218 * TLS ExtensionType values. 214 * TLS ExtensionType values.