Unreviewed build fix.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Apr 2019 04:01:59 +0000 (04:01 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Apr 2019 04:01:59 +0000 (04:01 +0000)
* crypto/mac/SerializedCryptoKeyWrapMac.mm:
(WebCore::createAndStoreMasterKey): Add ALLOW_DEPRECATED_DECLARATIONS_BEGIN/END
around SecTrustedApplicationCreateFromPath call.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243736 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/crypto/mac/SerializedCryptoKeyWrapMac.mm

index f529967..c25de08 100644 (file)
@@ -1,3 +1,11 @@
+2019-04-01  Timothy Hatcher  <timothy@apple.com>
+
+        Unreviewed build fix.
+
+        * crypto/mac/SerializedCryptoKeyWrapMac.mm:
+        (WebCore::createAndStoreMasterKey): Add ALLOW_DEPRECATED_DECLARATIONS_BEGIN/END
+        around SecTrustedApplicationCreateFromPath call.
+
 2019-04-01  Simon Fraser  <simon.fraser@apple.com>
 
         Remove some unused iOS scrolling-related code in Frame
index 2ce281e..3daef22 100644 (file)
@@ -114,7 +114,9 @@ static bool createAndStoreMasterKey(Vector<uint8_t>& masterKeyData)
     SecACLRef acl = checked_cf_cast<SecACLRef>(CFArrayGetValueAtIndex(acls.get(), 0));
 
     SecTrustedApplicationRef trustedAppRef;
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     status = SecTrustedApplicationCreateFromPath(0, &trustedAppRef);
+ALLOW_DEPRECATED_DECLARATIONS_END
     if (status) {
         WTFLogAlways("Cannot create a trusted application object for storing WebCrypto master key, error %d", (int)status);
         return false;