]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
don't set want_openssl_aes unless CRYPTO = -DOPENSSL
authorMark Andrews <marka@isc.org>
Thu, 20 Feb 2014 09:30:50 +0000 (20:30 +1100)
committerMark Andrews <marka@isc.org>
Thu, 20 Feb 2014 09:30:50 +0000 (20:30 +1100)
config.h.in
configure
configure.in

index c65d8911bc80e70a197866cff7cc1d950d086d19..fe410b218c953d307be431300256f7383dd84e50 100644 (file)
@@ -188,6 +188,9 @@ int sigwait(const unsigned int *set, int *sig);
    MSVC and with C++ compilers. */
 #undef FLEXIBLE_ARRAY_MEMBER
 
+/* Define to 1 if you have the `AES_encrypt' function. */
+#undef HAVE_AES_ENCRYPT
+
 /* Define to 1 if you have the `chroot' function. */
 #undef HAVE_CHROOT
 
index f06e4e33a0f966471a631cea569fa9f760ef12cc..281913e1e14ebf34852d920ba54fb78d40b4f06c 100755 (executable)
--- a/configure
+++ b/configure
@@ -15684,7 +15684,10 @@ $as_echo "#define HMAC_SHA256_SIT 1" >>confdefs.h
                if test "$ac_cv_func_AES_encrypt" = "yes"
                then
                        with_sit_alg="aes"
-                       want_openssl_aes="yes"
+                       if test "$CRYPTO" = "-DOPENSSL"
+                       then
+                               want_openssl_aes="yes"
+                       fi
 
 $as_echo "#define AES_SIT 1" >>confdefs.h
 
index f0a6ce9b0f362ab3d07f6d0b35604da5c73a5e3f..3548607714bec9c04053bd28de26a92cd0d97887 100644 (file)
@@ -1558,7 +1558,10 @@ case $with_sit_alg in
                if test "$ac_cv_func_AES_encrypt" = "yes"
                then
                        with_sit_alg="aes"
-                       want_openssl_aes="yes"
+                       if test "$CRYPTO" = "-DOPENSSL"
+                       then
+                               want_openssl_aes="yes"
+                       fi
                        AC_DEFINE(AES_SIT, 1,
                                 [Use AES for Source Identity Token generation])
                else