aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/commoncrypto/sectrust.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/_cffi_src/commoncrypto/sectrust.py')
-rw-r--r--src/_cffi_src/commoncrypto/sectrust.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/_cffi_src/commoncrypto/sectrust.py b/src/_cffi_src/commoncrypto/sectrust.py
index 6b185790..8962f4f2 100644
--- a/src/_cffi_src/commoncrypto/sectrust.py
+++ b/src/_cffi_src/commoncrypto/sectrust.py
@@ -30,6 +30,10 @@ OSStatus SecTrustCopyAnchorCertificates(CFArrayRef *);
"""
MACROS = """
+/* The first argument changed from CFArrayRef to CFTypeRef in 10.8, so this
+ * has to go here for compatibility.
+ */
+OSStatus SecTrustCreateWithCertificates(CFTypeRef, CFTypeRef, SecTrustRef *);
"""
CUSTOMIZATIONS = """