Skip to content

Commit

Permalink
m4: Remove unused OpenSSL Server Name Indication check.
Browse files Browse the repository at this point in the history
Leftover from the OVS/OVN split.  Not used in OVN code.

Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
igsilya authored and numansiddique committed Jan 3, 2025
1 parent 08c9f72 commit 7c1102b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
16 changes: 0 additions & 16 deletions m4/ovn.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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 <openssl/ssl.h>
])
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.
Expand Down
1 change: 0 additions & 1 deletion tests/atlocal.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -*- shell-script -*-
HAVE_OPENSSL='@HAVE_OPENSSL@'
OPENSSL_SUPPORTS_SNI='@OPENSSL_SUPPORTS_SNI@'
HAVE_UNBOUND='@HAVE_UNBOUND@'
EGREP='@EGREP@'

Expand Down

0 comments on commit 7c1102b

Please sign in to comment.