diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/tls1.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h index d091ae7ca9..80dc3d94c4 100644 --- a/src/lib/libssl/tls1.h +++ b/src/lib/libssl/tls1.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls1.h,v 1.47 2021/09/10 14:44:25 tb Exp $ */ | 1 | /* $OpenBSD: tls1.h,v 1.48 2021/09/10 14:50:19 tb 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 | * |
| @@ -178,14 +178,6 @@ extern "C" { | |||
| 178 | #define TLS1_VERSION_MINOR 0x01 | 178 | #define TLS1_VERSION_MINOR 0x01 |
| 179 | 179 | ||
| 180 | #ifndef LIBRESSL_INTERNAL | 180 | #ifndef LIBRESSL_INTERNAL |
| 181 | #define TLS1_get_version(s) \ | ||
| 182 | ((s->version >> 8) == TLS1_VERSION_MAJOR ? s->version : 0) | ||
| 183 | |||
| 184 | #define TLS1_get_client_version(s) \ | ||
| 185 | ((s->client_version >> 8) == TLS1_VERSION_MAJOR ? s->client_version : 0) | ||
| 186 | #endif | ||
| 187 | |||
| 188 | #ifndef LIBRESSL_INTERNAL | ||
| 189 | #define TLS1_AD_DECRYPTION_FAILED 21 | 181 | #define TLS1_AD_DECRYPTION_FAILED 21 |
| 190 | #define TLS1_AD_RECORD_OVERFLOW 22 | 182 | #define TLS1_AD_RECORD_OVERFLOW 22 |
| 191 | #define TLS1_AD_UNKNOWN_CA 48 /* fatal */ | 183 | #define TLS1_AD_UNKNOWN_CA 48 /* fatal */ |
