From e6c666d4f432d51ff449bbd4dfd137107c9e774c Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 22 May 2020 09:01:39 +0100 Subject: chore: Perform sslcert_viewer-ectomy This removes the sslcert_viewer entirely from the code. Where possible I've also trimmed out of frontends any code I think should not be present. Frontends should check and remove any further references that I have failed to catch. Signed-off-by: Daniel Silverstone --- desktop/gui_factory.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'desktop/gui_factory.c') diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c index 7ef457a7a..4a9a585d2 100644 --- a/desktop/gui_factory.c +++ b/desktop/gui_factory.c @@ -638,14 +638,6 @@ static nserror gui_default_launch_url(struct nsurl *url) } -static nserror gui_default_cert_verify(nsurl *url, - const struct cert_chain *chain, - nserror (*cb)(bool proceed, void *pw), - void *cbpw) -{ - return NSERROR_NOT_IMPLEMENTED; -} - static nserror gui_default_401login_open( nsurl *url, const char *realm, const char *username, const char *password, @@ -685,9 +677,6 @@ static nserror verify_misc_register(struct gui_misc_table *gmt) if (gmt->launch_url == NULL) { gmt->launch_url = gui_default_launch_url; } - if (gmt->cert_verify == NULL) { - gmt->cert_verify = gui_default_cert_verify; - } if (gmt->login == NULL) { gmt->login = gui_default_401login_open; } -- cgit v1.2.3