From 7c70b63c5b1d528f59e070facff1d6fd7290bb10 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 13 Jun 2012 12:05:50 +0100 Subject: [PATCH] Fix DTLS fallback to OpenSSL for old GnuTLS Due to a typo, it wasn't using OpenSSL for DTLS unless you specified --without-openssl on the configure command line. Signed-off-by: David Woodhouse --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0c731aef..7d6ebf69 100644 --- a/configure.ac +++ b/configure.ac @@ -211,7 +211,7 @@ if test "$with_gnutls" = "yes"; then [AC_DEFINE(HAVE_GNUTLS_PKCS12_SIMPLE_PARSE, 1)], []) AC_CHECK_FUNC(gnutls_certificate_set_key, [AC_DEFINE(HAVE_GNUTLS_CERTIFICATE_SET_KEY, 1)], []) - if test "$with_openssl" != "" || test "$with_openssl" = "no"; then + if test "$with_openssl" = "" || test "$with_openssl" = "no"; then AC_CHECK_FUNC(gnutls_session_set_premaster, [have_gnutls_dtls=yes], [have_gnutls_dtls=no]) else