diff options
author | tb <> | 2021-09-10 14:50:19 +0000 |
---|---|---|
committer | tb <> | 2021-09-10 14:50:19 +0000 |
commit | 61677786ab9d145dcd8fe3091876a97e1fa37ee9 (patch) | |
tree | 5de0ed204fe7cf08b678e8bb23b18cd5f3fd2560 /src/lib | |
parent | e6434c16cecd7479fc0a1e31c6d7d0e9abd3eee9 (diff) | |
download | openbsd-61677786ab9d145dcd8fe3091876a97e1fa37ee9.tar.gz openbsd-61677786ab9d145dcd8fe3091876a97e1fa37ee9.tar.bz2 openbsd-61677786ab9d145dcd8fe3091876a97e1fa37ee9.zip |
Remove TLS1_get_{,client_}version()
ok jsing
Diffstat (limited to 'src/lib')
-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 */ |