From d4d3e5ee1c9edb67844b693be0202ee5968d61c3 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 23 Feb 2006 15:06:54 +0000 Subject: [project @ 2006-02-23 15:06:53 by jmb] Handle invalid SSL certificates better - UI still needs work. Modify fetch callback data parameter type to remove compiler warnings. Constify things. Lose global ssl_verify_certificates option. Fix issue when closing a dialog without input focus. svn path=/import/netsurf/; revision=2092 --- desktop/gui.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'desktop/gui.h') diff --git a/desktop/gui.h b/desktop/gui.h index dd7486e80..8016fefd7 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -38,6 +38,7 @@ typedef enum { GUI_POINTER_DEFAULT, GUI_POINTER_POINT, GUI_POINTER_CARET, GUI_POINTER_MOVE } gui_pointer_shape; #include +#include "netsurf/utils/config.h" #include "netsurf/content/content.h" #include "netsurf/desktop/browser.h" @@ -106,5 +107,12 @@ bool gui_search_term_highlighted(struct gui_window *g, unsigned start_offset, unsigned end_offset, unsigned *start_idx, unsigned *end_idx); +#ifdef WITH_SSL +struct ssl_cert_info; + +void gui_cert_verify(struct browser_window *bw, struct content *c, + const struct ssl_cert_info *certs, unsigned long num); +#endif + #endif -- cgit v1.2.3