From 61677786ab9d145dcd8fe3091876a97e1fa37ee9 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 10 Sep 2021 14:50:19 +0000 Subject: Remove TLS1_get_{,client_}version() ok jsing --- src/lib/libssl/tls1.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/lib') 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 @@ -/* $OpenBSD: tls1.h,v 1.47 2021/09/10 14:44:25 tb Exp $ */ +/* $OpenBSD: tls1.h,v 1.48 2021/09/10 14:50:19 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -177,14 +177,6 @@ extern "C" { #define TLS1_VERSION_MAJOR 0x03 #define TLS1_VERSION_MINOR 0x01 -#ifndef LIBRESSL_INTERNAL -#define TLS1_get_version(s) \ - ((s->version >> 8) == TLS1_VERSION_MAJOR ? s->version : 0) - -#define TLS1_get_client_version(s) \ - ((s->client_version >> 8) == TLS1_VERSION_MAJOR ? s->client_version : 0) -#endif - #ifndef LIBRESSL_INTERNAL #define TLS1_AD_DECRYPTION_FAILED 21 #define TLS1_AD_RECORD_OVERFLOW 22 -- cgit v1.2.3-55-g6feb