]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config-scripts/cups-ssl.m4
Add SSLOptions to enable Diffie-Hellman key exchange and disable TLS/1.0.
[thirdparty/cups.git] / config-scripts / cups-ssl.m4
index f5f8d6405b75040c6c51e0d8ea2fde5805ebd6d7..d48681ea114b679b2c25c33fc9cf6dd4ffc7f9cf 100644 (file)
@@ -3,7 +3,7 @@ dnl "$Id$"
 dnl
 dnl TLS stuff for CUPS.
 dnl
-dnl Copyright 2007-2014 by Apple Inc.
+dnl Copyright 2007-2015 by Apple Inc.
 dnl Copyright 1997-2007 by Easy Software Products, all rights reserved.
 dnl
 dnl These coded instructions, statements, and computer programs are the
@@ -53,6 +53,10 @@ if test x$enable_ssl != xno; then
 
                AC_DEFINE(HAVE_CSSMERRORSTRING)
                AC_DEFINE(HAVE_SECKEYCHAINOPEN)])
+
+               if test $uversion -ge 150; then
+                       AC_DEFINE(HAVE_SSLSETENABLEDCIPHERS)
+               fi
        fi
     fi