]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
WIN32 not WIN
authorMark Andrews <marka@isc.org>
Wed, 11 Oct 2006 03:58:14 +0000 (03:58 +0000)
committerMark Andrews <marka@isc.org>
Wed, 11 Oct 2006 03:58:14 +0000 (03:58 +0000)
lib/dns/opensslrsa_link.c

index c0da7132d585bd8bba6e223e89e68427922bc5ea..c3507043eb9a0564ab891167a54a07441a53feb7 100644 (file)
@@ -17,7 +17,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: opensslrsa_link.c,v 1.1.6.9 2006/10/10 02:29:01 marka Exp $
+ * $Id: opensslrsa_link.c,v 1.1.6.10 2006/10/11 03:58:14 marka Exp $
  */
 #ifdef OPENSSL
 
 #include <openssl/bn.h>
 #endif
 
+/*
+ * We don't use configure for windows so enforce the OpenSSL version
+ * here.  Unlike with configure we don't support overriding this test.
+ */
+#ifdef WIN32
+#if !((OPENSSL_VERSION_NUMBER >= 0x009070cfL && \
+       OPENSSL_VERSION_NUMBER < 0x009080000L) || \
+      OPENSSL_VERSION_NUMBER >= 0x0090804fL)
+#error Please upgrade OpenSSL to 0.9.8d/0.9.7l or greater.
+#endif
+#endif
+
+
        /*
         * XXXMPA  Temporarially disable RSA_BLINDING as it requires
         * good quality random data that cannot currently be guarenteed.