[Webkit-unassigned] [Bug 227023] [GLIB] Pass a GTlsCertificate to soup_server_new()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 15 05:38:51 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=227023

--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Comment on attachment 431425
  --> https://bugs.webkit.org/attachment.cgi?id=431425
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=431425&action=review

> Tools/TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.cpp:40
> +        certificate = adoptGRef(g_tls_certificate_new_from_files(sslCertificateFile.get(), sslKeyFile.get(), nullptr));

Bonus points if you pass an error parameter and g_assert_no_error() before the g_assert_nonnull(). That will give us a better error message in the unlikely event that it ever starts to fail in the future.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210615/46579297/attachment.htm>


More information about the webkit-unassigned mailing list