]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
regen v9_11
authorTinderbox User <tbox@isc.org>
Thu, 18 Jan 2018 01:20:29 +0000 (01:20 +0000)
committerTinderbox User <tbox@isc.org>
Thu, 18 Jan 2018 01:20:29 +0000 (01:20 +0000)
config.h.in
configure

index 3e92fe238d088424d3889fec8dd2fd29a0721856..5eb8b8ddc28912fef66b758befca6a927ae6048e 100644 (file)
@@ -120,9 +120,6 @@ int sigwait(const unsigned int *set, int *sig);
 /** define if you have strerror in the C library. */
 #undef HAVE_STRERROR
 
-/* Define if OpenSSL provides FIPS_mode() */
-#undef HAVE_FIPS_MODE
-
 /* Define if OpenSSL includes DSA support */
 #undef HAVE_OPENSSL_DSA
 
@@ -245,6 +242,9 @@ int sigwait(const unsigned int *set, int *sig);
 /* Define to 1 if you have the <fcntl.h> header file. */
 #undef HAVE_FCNTL_H
 
+/* Define if OpenSSL provides FIPS_mode() */
+#undef HAVE_FIPS_MODE
+
 /* Define to 1 if you have the `fseeko' function. */
 #undef HAVE_FSEEKO
 
index a582e57d44c556d0de6b8942a978398dc0957c6c..572035eb82fea1c357f0e404d857754ac8ddcd5c 100755 (executable)
--- a/configure
+++ b/configure
@@ -16241,6 +16241,39 @@ $as_echo "Skipped OpenSSL version check" >&6; }
 ;;
 esac
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL FIPS mode support" >&5
+$as_echo_n "checking for OpenSSL FIPS mode support... " >&6; }
+       have_fips_mode=""
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <openssl/crypto.h>
+int
+main ()
+{
+FIPS_mode();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  have_fips_mode=yes
+else
+  have_fips_mode=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+       if test "x$have_fips_mode" = "xyes"
+       then
+
+$as_echo "#define HAVE_FIPS_MODE 1" >>confdefs.h
+
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       else
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       fi
+
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL DSA support" >&5
 $as_echo_n "checking for OpenSSL DSA support... " >&6; }
        if test -f $use_openssl/include/openssl/dsa.h