diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2012-08-21 20:34:15 +0800 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-08-21 20:45:56 +0800 |
commit | eab8da2259d5a79d5e892cda83a28cdaef762471 (patch) | |
tree | f1302da8aab38ee5032a579a2b45afd4f42807e9 /embed | |
parent | 375b5377bb923f35cb422b9b560ccc0afb338550 (diff) | |
download | gsoc2013-epiphany-eab8da2259d5a79d5e892cda83a28cdaef762471.tar.gz gsoc2013-epiphany-eab8da2259d5a79d5e892cda83a28cdaef762471.tar.zst gsoc2013-epiphany-eab8da2259d5a79d5e892cda83a28cdaef762471.zip |
ephy-web-view: Take a reference of the certificate returned by the response
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-web-view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 12e5f5128..4862d837e 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2143,6 +2143,7 @@ load_changed_cb (WebKitWebView *web_view, response = webkit_web_resource_get_response (resource); g_clear_object (&priv->certificate); if (webkit_uri_response_get_https_status (response, &priv->certificate, &priv->tls_errors)) { + g_object_ref (priv->certificate); security_level = priv->tls_errors == 0 ? EPHY_WEB_VIEW_STATE_IS_SECURE_HIGH : EPHY_WEB_VIEW_STATE_IS_BROKEN; } |