summaryrefslogtreecommitdiff
path: root/desktop/gui_factory.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2020-05-22 09:01:39 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2020-05-22 09:01:39 +0100
commite6c666d4f432d51ff449bbd4dfd137107c9e774c (patch)
tree9e66a539e1a0cd55d1146c4898f71aecfddabdf5 /desktop/gui_factory.c
parent10fc242aa94c8a9a440baccbf7170b36b4d54cb7 (diff)
downloadnetsurf-e6c666d4f432d51ff449bbd4dfd137107c9e774c.tar.gz
netsurf-e6c666d4f432d51ff449bbd4dfd137107c9e774c.tar.bz2
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 <dsilvers@digital-scurf.org>
Diffstat (limited to 'desktop/gui_factory.c')
-rw-r--r--desktop/gui_factory.c11
1 files changed, 0 insertions, 11 deletions
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;
}