Title: [237021] trunk/Source/WebCore
Revision
237021
Author
[email protected]
Date
2018-10-10 17:47:28 -0700 (Wed, 10 Oct 2018)

Log Message

Unreviewed, attempt to fix the build with current SDKs.

* crypto/mac/CryptoKeyRSAMac.cpp:
(WebCore::getPublicKeyComponents):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (237020 => 237021)


--- trunk/Source/WebCore/ChangeLog	2018-10-10 22:41:26 UTC (rev 237020)
+++ trunk/Source/WebCore/ChangeLog	2018-10-11 00:47:28 UTC (rev 237021)
@@ -1,3 +1,10 @@
+2018-10-10  Ryan Haddad  <[email protected]>
+
+        Unreviewed, attempt to fix the build with current SDKs.
+
+        * crypto/mac/CryptoKeyRSAMac.cpp:
+        (WebCore::getPublicKeyComponents):
+
 2018-10-10  Brent Fulgham  <[email protected]>
 
         Only report the supported WebGL version

Modified: trunk/Source/WebCore/crypto/mac/CryptoKeyRSAMac.cpp (237020 => 237021)


--- trunk/Source/WebCore/crypto/mac/CryptoKeyRSAMac.cpp	2018-10-10 22:41:26 UTC (rev 237020)
+++ trunk/Source/WebCore/crypto/mac/CryptoKeyRSAMac.cpp	2018-10-11 00:47:28 UTC (rev 237021)
@@ -62,7 +62,10 @@
 {
     ASSERT(CCRSAGetKeyType(rsaKey) == ccRSAKeyPublic || CCRSAGetKeyType(rsaKey) == ccRSAKeyPrivate);
     bool keyIsPublic = CCRSAGetKeyType(rsaKey) == ccRSAKeyPublic;
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
     CCRSACryptorRef publicKey = keyIsPublic ? rsaKey : CCRSACryptorGetPublicKeyFromPrivateKey(rsaKey);
+#pragma clang diagnostic pop
 
     modulus.resize(16384);
     size_t modulusLength = modulus.size();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to