| Summary: | [GLIB] Pass a GTlsCertificate to soup_server_new() | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bugs-noreply, mcatanzaro, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | Gtk, InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Carlos Garcia Campos
2021-06-15 05:24:15 PDT
Created attachment 431425 [details]
Patch
Comment on attachment 431425 [details] 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. Committed r278977 (238903@main): <https://commits.webkit.org/238903@main> |