summaryrefslogtreecommitdiff
path: root/cups/http-private.h
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2016-04-19 15:22:33 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2016-04-19 15:22:33 -0400
commitde8c34f8bdc66b758dea98dfef90dd204ea57aff (patch)
tree51f05136e43c1f56c17d00f27413ca7ad94db05c /cups/http-private.h
parent6b4bf984e5f275f0d3fe479c6e081409200e0401 (diff)
Check for newer Security framework header version to avoid compiler error.
Diffstat (limited to 'cups/http-private.h')
-rw-r--r--cups/http-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cups/http-private.h b/cups/http-private.h
index 10c624670..89e61d459 100644
--- a/cups/http-private.h
+++ b/cups/http-private.h
@@ -97,9 +97,11 @@ typedef int socklen_t;
# ifdef __cplusplus
extern "C" {
# endif /* __cplusplus */
+# ifndef _SECURITY_VERSION_GREATER_THAN_57610_
typedef CF_OPTIONS(uint32_t, SecKeyUsage) {
kSecKeyUsageAll = 0x7FFFFFFF
};
+# endif /* !_SECURITY_VERSION_GREATER_THAN_57610_ */
extern const void * kSecCSRChallengePassword;
extern const void * kSecSubjectAltName;
extern const void * kSecCertificateKeyUsage;