Title: [277769] trunk/Tools
Revision
277769
Author
wenson_hs...@apple.com
Date
2021-05-19 18:00:49 -0700 (Wed, 19 May 2021)

Log Message

Unreviewed, try to fix the internal build after r277740

It seems `keyData` was intended to be a `String` rather than a `Vector<uint8_t>`.

* TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (277768 => 277769)


--- trunk/Tools/ChangeLog	2021-05-20 00:51:34 UTC (rev 277768)
+++ trunk/Tools/ChangeLog	2021-05-20 01:00:49 UTC (rev 277769)
@@ -1,3 +1,12 @@
+2021-05-19  Wenson Hsieh  <wenson_hs...@apple.com>
+
+        Unreviewed, try to fix the internal build after r277740
+
+        It seems `keyData` was intended to be a `String` rather than a `Vector<uint8_t>`.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm:
+        (TestWebKitAPI::TEST):
+
 2021-05-19  Chris Dumez  <cdu...@apple.com>
 
         Drop "get" prefix from SQLiteStatement member functions as well as out-parameters

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm (277768 => 277769)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm	2021-05-20 00:51:34 UTC (rev 277768)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm	2021-05-20 01:00:49 UTC (rev 277769)
@@ -159,7 +159,7 @@
     auto spkiData = adoptCF(SecKeyCopySubjectPublicKeyInfo(secKey.get()));
     auto *nsSpkiData = (__bridge NSData *)spkiData.get();
 
-    auto keyData = base64URLEncodeToVector(nsSpkiData.bytes, nsSpkiData.length);
+    auto keyData = base64URLEncodeToString(nsSpkiData.bytes, nsSpkiData.length);
 
     // The server.
     HTTPServer server([&done, connectionCount = 0, &rsaPrivateKey, &modulusNBytes, &rng, &keyData, &secKey] (Connection connection) mutable {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to