Skip to content

Security macOS xcode9 beta3

Vincent Dondain edited this page Jul 10, 2017 · 1 revision

#Security.framework

diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h	2017-06-12 00:48:37.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h	2017-06-30 03:12:10.000000000 -0400
@@ -30,6 +30,7 @@
 
 #include <TargetConditionals.h>
 #include <stdint.h>
+#include <CoreFoundation/CFBase.h> /* CF_ENUM */
 
 /*
  * Defined as enum for debugging, but in the protocol
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureDownload.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureDownload.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureDownload.h	2017-06-11 21:18:20.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureDownload.h	2017-06-29 23:01:10.000000000 -0400
@@ -55,7 +55,7 @@
 
 #include <CoreFoundation/CoreFoundation.h>
 #include <Security/SecBase.h>
-
+#include <Security/SecTrust.h> /* SecTrustRef */
 
 
 typedef struct OpaqueSecureDownload *SecureDownloadRef;
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h	2017-06-11 21:18:20.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h	2017-06-30 01:44:04.000000000 -0400
@@ -1188,7 +1188,7 @@
 OSStatus
 SSLSetALPNProtocols         (SSLContextRef      context,
                              CFArrayRef         protocols)
-    __OSX_AVAILABLE_STARTING(__MAC_10_12_4, __IPHONE_9_3);
+    __OSX_AVAILABLE_STARTING(__MAC_10_13, __IPHONE_11_0);
 
 /*
  * Get the ALPN protocols associated with this SSL context.
@@ -1206,7 +1206,7 @@
 OSStatus
 SSLCopyALPNProtocols        (SSLContextRef      context,
                              CFArrayRef         __nullable * __nonnull protocols)           /* RETURNED */
-    __OSX_AVAILABLE_STARTING(__MAC_10_12_4, __IPHONE_9_3);
+    __OSX_AVAILABLE_STARTING(__MAC_10_13, __IPHONE_11_0);
 
 /*
  * Set the OCSP response for the given SSL session.
@@ -1217,7 +1217,7 @@
 OSStatus
 SSLSetOCSPResponse          (SSLContextRef      context,
                              CFDataRef          __nonnull response)
-__OSX_AVAILABLE_STARTING(__MAC_10_12_4, __IPHONE_9_3);
+__OSX_AVAILABLE_STARTING(__MAC_10_13, __IPHONE_11_0);
 
 /********************************************************
  *** Session context configuration, server side only. ***
@@ -1498,7 +1498,7 @@
 OSStatus
 SSLSetError                 (SSLContextRef      context,
                              OSStatus           status)
-    __OSX_AVAILABLE_STARTING(__MAC_10_12_4, __IPHONE_9_3);
+    __OSX_AVAILABLE_STARTING(__MAC_10_13, __IPHONE_11_0);
 
 CF_IMPLICIT_BRIDGING_DISABLED
 CF_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/certextensions.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/certextensions.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/certextensions.h	2017-06-11 21:18:20.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/certextensions.h	2017-06-29 23:01:10.000000000 -0400
@@ -31,6 +31,7 @@
 #if SEC_OS_OSX
 
 #include <Security/cssmtype.h>
+#include <Security/x509defs.h> /* CSSM_X509_RDN_PTR */
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
 
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h	2017-06-11 21:18:20.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/cssmkrspi.h	2017-06-29 23:01:10.000000000 -0400
@@ -27,6 +27,7 @@
 #define _CSSMKRSPI_H_  1
 
 #include <Security/cssmtype.h>
+#include <Security/cssmkrapi.h> /* CSSM_KRSP_HANDLE */
 
 #ifdef __cplusplus
 extern "C" {
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/cssmspi.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/cssmspi.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/cssmspi.h	2017-06-11 21:18:20.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/cssmspi.h	2017-06-29 23:01:10.000000000 -0400
@@ -27,6 +27,7 @@
 #define _CSSMSPI_H_  1
 
 #include <Security/cssmtype.h>
+#include <Security/cssmspi.h> /* CSSM_UPCALLS_PTR */
 
 #ifdef __cplusplus
 extern "C" {
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/emmspi.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/emmspi.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/emmspi.h	2017-06-11 21:18:20.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/emmspi.h	2017-06-29 23:01:10.000000000 -0400
@@ -27,6 +27,8 @@
 #define _EMMSPI_H_  1
 
 #include <Security/cssmtype.h>
+#include <Security/emmtype.h> /* CSSM_MANAGER_EVENT_NOTIFICATION */
+#include <Security/cssmspi.h> /* CSSM_UPCALLS_PTR */
 
 #ifdef __cplusplus
 extern "C" {
Clone this wiki locally