From 7c1102b4f08b25f1eab4b56e02b0489576619108 Mon Sep 17 00:00:00 2001 From: Ilya Maximets Date: Mon, 16 Dec 2024 13:59:51 +0100 Subject: [PATCH] m4: Remove unused OpenSSL Server Name Indication check. Leftover from the OVS/OVN split. Not used in OVN code. Signed-off-by: Ilya Maximets Acked-by: Mark Michelson Signed-off-by: Numan Siddique --- m4/ovn.m4 | 16 ---------------- tests/atlocal.in | 1 - 2 files changed, 17 deletions(-) diff --git a/m4/ovn.m4 b/m4/ovn.m4 index 27d3781678..8f36b75fc9 100644 --- a/m4/ovn.m4 +++ b/m4/ovn.m4 @@ -227,22 +227,6 @@ OpenFlow connections over SSL will not be supported. if test "$HAVE_OPENSSL" = yes; then AC_DEFINE([HAVE_OPENSSL], [1], [Define to 1 if OpenSSL is installed.]) fi - - OPENSSL_SUPPORTS_SNI=no - if test $HAVE_OPENSSL = yes; then - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $SSL_INCLUDES" - AC_CHECK_DECL([SSL_set_tlsext_host_name], [OPENSSL_SUPPORTS_SNI=yes], - [], [#include -]) - if test $OPENSSL_SUPPORTS_SNI = yes; then - AC_DEFINE( - [OPENSSL_SUPPORTS_SNI], [1], - [Define to 1 if OpenSSL supports Server Name Indication (SNI).]) - fi - CPPFLAGS=$save_CPPFLAGS - fi - AC_SUBST([OPENSSL_SUPPORTS_SNI]) ]) dnl Checks for the directory in which to store the PKI. diff --git a/tests/atlocal.in b/tests/atlocal.in index 29e1bb2982..9a3cf2d165 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -1,6 +1,5 @@ # -*- shell-script -*- HAVE_OPENSSL='@HAVE_OPENSSL@' -OPENSSL_SUPPORTS_SNI='@OPENSSL_SUPPORTS_SNI@' HAVE_UNBOUND='@HAVE_UNBOUND@' EGREP='@EGREP@'