]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - xcode/config.h
Add SSLOptions to enable Diffie-Hellman key exchange and disable TLS/1.0.
[thirdparty/cups.git] / xcode / config.h
index 7b6081e8075d3bba5689253a7331dc1e43ec005f..0044da6b23fc1550110bbf43f49465856c181b9f 100644 (file)
@@ -1,28 +1,29 @@
-/* config.h.  Generated from config.h.in by configure.  */
 /*
  * "$Id$"
  *
- *   Configuration file for CUPS.
+ * Configuration file for CUPS and Xcode.
  *
- *   Copyright 2007-2013 by Apple Inc.
- *   Copyright 1997-2007 by Easy Software Products.
+ * Copyright 2007-2015 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
  *
- *   These coded instructions, statements, and computer programs are the
- *   property of Apple Inc. and are protected by Federal copyright
- *   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
- *   which should have been included with this file.  If this file is
- *   file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file.  If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
  */
 
 #ifndef _CUPS_CONFIG_H_
 #define _CUPS_CONFIG_H_
 
+#include <AvailabilityMacros.h>
+
 /*
  * Version of software...
  */
 
-#define CUPS_SVERSION "CUPS v1.6.0"
-#define CUPS_MINIMAL "CUPS/1.6.0"
+#define CUPS_SVERSION "CUPS v2.1svn"
+#define CUPS_MINIMAL "CUPS/2.1svn"
 
 
 /*
@@ -33,6 +34,7 @@
 #define CUPS_DEFAULT_GROUP "_lp"
 #define CUPS_DEFAULT_SYSTEM_GROUPS "admin"
 #define CUPS_DEFAULT_PRINTOPERATOR_AUTH "@AUTHKEY(system.print.operator) @admin @lpadmin"
+#define CUPS_DEFAULT_SYSTEM_AUTHKEY "system.print.admin"
 
 
 /*
 #define CUPS_STATEDIR "/private/etc/cups"
 
 
+/*
+ * Do we have posix_spawn?
+ */
+
+#define HAVE_POSIX_SPAWN 1
+
+
 /*
  * Do we have ZLIB?
  */
 
 
 /*
- * Do we have <scsi/sg.h>?
+ * Use <stdint.h>?
  */
 
-/* #undef HAVE_SCSI_SG_H */
+#define HAVE_STDINT_H 1
 
 
 /*
 
 #define HAVE_CDSASSL 1
 /* #undef HAVE_GNUTLS */
-/* #undef HAVE_LIBSSL */
 #define HAVE_SSL 1
 
 
 /*
- * Do we have the SSL_set_tlsext_host_name function?
+ * Do we have the gnutls_transport_set_pull_timeout_function function?
+ */
+
+/* #undef HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION */
+
+
+/*
+ * Do we have the gnutls_priority_set_direct function?
  */
 
-/* #undef HAVE_SSL_SET_TLSEXT_HOST_NAME */
+/* #undef HAVE_GNUTLS_PRIORITY_SET_DIRECT */
 
 
 /*
 
 
 /*
- * Do we have the SecCertificateCopyData function?
+ * Do we have the cssmErrorString function?
  */
 
-#define HAVE_SECCERTIFICATECOPYDATA 1
+#define HAVE_CSSMERRORSTRING 1
 
 
 /*
- * Do we have the SecIdentitySearchCreateWithPolicy function?
+ * Do we have the SecGenerateSelfSignedCertificate function?
  */
 
-#define HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY 1
+/* #undef HAVE_SECGENERATESELFSIGNEDCERTIFICATE */
 
 
 /*
- * Do we have the SecPolicyCreateSSL function?
+ * Do we have the SecKeychainOpen function?
  */
 
-#define HAVE_SECPOLICYCREATESSL 1
+#define HAVE_SECKEYCHAINOPEN 1
 
 
 /*
- * Do we have the SecPolicyCreateSSL function?
+ * Do we have (a working) SSLSetEnabledCiphers function?
  */
 
-#define HAVE_SECPOLICYCREATESSL 1
-
-
-/*
- * Do we have the cssmErrorString function?
- */
-
-#define HAVE_CSSMERRORSTRING 1
+#ifdef AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER
+#  define HAVE_SSLSETENABLEDCIPHERS 1
+#endif /* AVAILABLE_MAC_OS_X_VERSION_10_11_AND_LATER */
 
 
 /*
 /* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */
 
 
-/*
- * Do we have the AIX usersec.h header file?
- */
-
-/* #undef HAVE_USERSEC_H */
-
-
 /*
  * Do we have pthread support?
  */
 
 #define HAVE_LAUNCH_H 1
 #define HAVE_LAUNCHD 1
+#define HAVE_LAUNCH_ACTIVATE_SOCKET 1
 
 
 /*
 #define HAVE_NOTIFY_POST 1
 
 
-/*
- * Do we have Darwin's IOKit private headers?
- */
-
-/* #undef HAVE_IOKIT_PWR_MGT_IOPMLIBPRIVATE_H */
-
-
 /*
  * Do we have DBUS?
  */
 #endif /* HAVE_ARC4RANDOM */
 
 
-/*
- * Do we have vproc_transaction_begin/end?
- */
-
-#define HAVE_VPROC_TRANSACTION_BEGIN 1
-
-
 /*
  * Do we have libusb?
  */