Title: [251000] trunk/Source/WebCore
Revision
251000
Author
[email protected]
Date
2019-10-10 19:47:23 -0700 (Thu, 10 Oct 2019)

Log Message

Guard GCrypt-specific code with USE(GCRYPT) instead of PLATFORM macros
https://bugs.webkit.org/show_bug.cgi?id=202829

Reviewed by Jiewen Tan.

* crypto/keys/CryptoKeyEC.h:
* crypto/keys/CryptoKeyRSA.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (250999 => 251000)


--- trunk/Source/WebCore/ChangeLog	2019-10-11 02:23:37 UTC (rev 250999)
+++ trunk/Source/WebCore/ChangeLog	2019-10-11 02:47:23 UTC (rev 251000)
@@ -1,3 +1,13 @@
+2019-10-10  Konstantin Tokarev  <[email protected]>
+
+        Guard GCrypt-specific code with USE(GCRYPT) instead of PLATFORM macros
+        https://bugs.webkit.org/show_bug.cgi?id=202829
+
+        Reviewed by Jiewen Tan.
+
+        * crypto/keys/CryptoKeyEC.h:
+        * crypto/keys/CryptoKeyRSA.h:
+
 2019-10-10  Yury Semikhatsky  <[email protected]>
 
         Web Inspector: use more C++ keywords for defining agents

Modified: trunk/Source/WebCore/crypto/keys/CryptoKeyEC.h (250999 => 251000)


--- trunk/Source/WebCore/crypto/keys/CryptoKeyEC.h	2019-10-11 02:23:37 UTC (rev 250999)
+++ trunk/Source/WebCore/crypto/keys/CryptoKeyEC.h	2019-10-11 02:47:23 UTC (rev 251000)
@@ -43,7 +43,7 @@
 typedef std::unique_ptr<typename std::remove_pointer<CCECCryptorRef>::type, WebCore::CCECCryptorRefDeleter> PlatformECKeyContainer;
 #endif
 
-#if PLATFORM(GTK) || PLATFORM(WPE)
+#if USE(GCRYPT)
 #include <pal/crypto/gcrypt/Handle.h>
 
 typedef gcry_sexp_t PlatformECKey;

Modified: trunk/Source/WebCore/crypto/keys/CryptoKeyRSA.h (250999 => 251000)


--- trunk/Source/WebCore/crypto/keys/CryptoKeyRSA.h	2019-10-11 02:23:37 UTC (rev 250999)
+++ trunk/Source/WebCore/crypto/keys/CryptoKeyRSA.h	2019-10-11 02:47:23 UTC (rev 251000)
@@ -43,7 +43,7 @@
 typedef std::unique_ptr<typename std::remove_pointer<CCRSACryptorRef>::type, WebCore::CCRSACryptorRefDeleter> PlatformRSAKeyContainer;
 #endif
 
-#if PLATFORM(GTK) || PLATFORM(WPE)
+#if USE(GCRYPT)
 #include <pal/crypto/gcrypt/Handle.h>
 
 typedef gcry_sexp_t PlatformRSAKey;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to