From: tb Date: Fri, 10 Sep 2021 14:50:19 +0000 (+0000) Subject: Remove TLS1_get_{,client_}version() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=51c5ceb22c9907a156bb4026161365150fb3ebfc;p=openbsd Remove TLS1_get_{,client_}version() ok jsing --- diff --git a/lib/libssl/tls1.h b/lib/libssl/tls1.h index d091ae7ca91..80dc3d94c48 100644 --- a/lib/libssl/tls1.h +++ b/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