diff options
Diffstat (limited to 'gtk/gtk_gui.c')
-rw-r--r-- | gtk/gtk_gui.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c index 4e0aa952a..ae751d36b 100644 --- a/gtk/gtk_gui.c +++ b/gtk/gtk_gui.c @@ -426,7 +426,17 @@ void hotlist_visited(struct content *content) } void gui_cert_verify(struct browser_window *bw, struct content *c, - const struct ssl_cert_info *certs, unsigned long num) {} + const struct ssl_cert_info *certs, unsigned long num) +{ + + /* TODO: we should open a window showing what the certificate + * problem is and offer the user the choice to reject it. Until + * we do this, we just always accept them. + * */ + + urldb_set_cert_permissions(c->url, true); + browser_window_go(bw, c->url, 0, true); +} utf8_convert_ret utf8_to_local_encoding(const char *string, size_t len, char **result) |