diff options
author | Christian Dywan <christian@twotoasts.de> | 2010-04-14 04:20:56 +0200 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2010-04-14 04:20:56 +0200 |
commit | 8a879578d1a29941ddb6a2f300c1b66c2fae42e6 (patch) | |
tree | 3299a20087a16afb26bdb8bd9b44b1468bf9c917 /midori/midori-locationaction.h | |
parent | df27c73cdbfbdc7f19470445ceaaea2605f5ad55 (diff) | |
download | midori-8a879578d1a29941ddb6a2f300c1b66c2fae42e6.tar.gz |
Validate SSL against root certificates
If one of two known root certificate files is available, we
enable certificate validation, otherwise a warning is emitted.
Not using validation means that we trust any certificate. We
should consider doing the opposite.
The new property MidoriView:security is set during load
and indicates the security status. midori_view_get_security can
be used to determine the status later on.
midori_location_action_set_security_hint is implemented to
present security status visually. For now, this only changes
the icon, we need to find a more visible solution.
MidoriBrowser updates the security hint for the current view in
_midori_browser_update_interface.
Diffstat (limited to 'midori/midori-locationaction.h')
-rw-r--r-- | midori/midori-locationaction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/midori/midori-locationaction.h b/midori/midori-locationaction.h index 2dc56314..3decc542 100644 --- a/midori/midori-locationaction.h +++ b/midori/midori-locationaction.h @@ -13,6 +13,7 @@ #define __MIDORI_LOCATION_ACTION_H__ #include <katze/katze.h> +#include "midori-view.h" G_BEGIN_DECLS @@ -101,6 +102,10 @@ midori_location_action_delete_item_from_uri (MidoriLocationAction* location_acti void midori_location_action_clear (MidoriLocationAction* location_action); +void +midori_location_action_set_security_hint (MidoriLocationAction* location_action, + MidoriSecurity hint); + G_END_DECLS #endif /* __MIDORI_LOCATION_ACTION_H__ */ |