From 1dce2a1746aa0a935e480495f87389df1eec124e Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 27 Jan 2025 21:07:55 +0100 Subject: [PATCH] openssl: drop unused `HAVE_SSL_GET_SHUTDOWN` macro Follow-up to c31041b17e5ee60e7ecc2309daa8ababf7c7ad2d #13904 Closes #16103 --- lib/config-plan9.h | 1 - lib/vtls/openssl.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/lib/config-plan9.h b/lib/config-plan9.h index 8763d1e929..a6091ef830 100644 --- a/lib/config-plan9.h +++ b/lib/config-plan9.h @@ -106,7 +106,6 @@ #define HAVE_SIGSETJMP 1 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define HAVE_SOCKET 1 -#define HAVE_SSL_GET_SHUTDOWN 1 #define HAVE_STDBOOL_H 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 382ac244a9..ae1862d664 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -179,10 +179,6 @@ #define HAVE_X509_GET0_SIGNATURE 1 #endif -#if (OPENSSL_VERSION_NUMBER >= 0x1000200fL) /* 1.0.2 or later */ -#define HAVE_SSL_GET_SHUTDOWN 1 -#endif - #if OPENSSL_VERSION_NUMBER >= 0x10002003L && \ OPENSSL_VERSION_NUMBER <= 0x10002FFFL && \ !defined(OPENSSL_NO_COMP) -- 2.47.2