Title: [287065] trunk/Source/WebCore
Revision
287065
Author
dp...@igalia.com
Date
2021-12-15 01:09:35 -0800 (Wed, 15 Dec 2021)

Log Message

[GTK][WPE] Build fix for Debian Stable after r287015
https://bugs.webkit.org/show_bug.cgi?id=234332

Reviewed by Ryosuke Niwa.

* Modules/push-api/PushMessageCrypto.cpp:
(WebCore::PushCrypto::decryptAES128GCMPayload):
(WebCore::PushCrypto::decryptAESGCMPayload):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (287064 => 287065)


--- trunk/Source/WebCore/ChangeLog	2021-12-15 09:03:52 UTC (rev 287064)
+++ trunk/Source/WebCore/ChangeLog	2021-12-15 09:09:35 UTC (rev 287065)
@@ -1,3 +1,14 @@
+2021-12-15  Diego Pino Garcia  <dp...@igalia.com>
+
+        [GTK][WPE] Build fix for Debian Stable after r287015
+        https://bugs.webkit.org/show_bug.cgi?id=234332
+
+        Reviewed by Ryosuke Niwa.
+
+        * Modules/push-api/PushMessageCrypto.cpp:
+        (WebCore::PushCrypto::decryptAES128GCMPayload):
+        (WebCore::PushCrypto::decryptAESGCMPayload):
+
 2021-12-13  Sergio Villar Senin  <svil...@igalia.com>
 
         [css-flexbox] Absolutely positioned children should be aligned using the margin box

Modified: trunk/Source/WebCore/Modules/push-api/PushMessageCrypto.cpp (287064 => 287065)


--- trunk/Source/WebCore/Modules/push-api/PushMessageCrypto.cpp	2021-12-15 09:03:52 UTC (rev 287064)
+++ trunk/Source/WebCore/Modules/push-api/PushMessageCrypto.cpp	2021-12-15 09:09:35 UTC (rev 287065)
@@ -127,7 +127,7 @@
      * IKM = HMAC-SHA-256(PRK_key, key_info || 0x01)
      */
     struct KeyInfo {
-        uint8_t label[14] = { "WebPush: info" };
+        char label[14] = { "WebPush: info" };
         uint8_t clientKey[p256dhPublicKeyLength];
         uint8_t serverKey[p256dhPublicKeyLength];
         uint8_t end = 0x01;
@@ -251,7 +251,7 @@
      * derivation functions below require that trailing 0x01 byte.
      */
     struct KeyDerivationContext {
-        uint8_t label[6] = { "P-256" };
+        char label[6] = { "P-256" };
         uint8_t clientPublicKeyLength[2] = { 0, 0x41 };
         uint8_t clientPublicKey[p256dhPublicKeyLength];
         uint8_t serverPublicKeyLength[2] = { 0, 0x41 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to