diff options
author | Josh Rickmar <jrick@conformal.com> | 2013-06-06 10:06:02 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@conformal.com> | 2013-06-06 10:06:02 -0400 |
commit | 70d1a089eeb01829de0cbb3d70eca5209877e4c5 (patch) | |
tree | 5c54acc51b52ced675d944093f6afec8ad7125a8 | |
parent | 230981307b62bee0410a344c4fa11481c7caf8f1 (diff) | |
download | xombrero-70d1a089eeb01829de0cbb3d70eca5209877e4c5.tar.gz |
Don't color bar when warning of cached cert mismatch
-rw-r--r-- | xombrero.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xombrero.c b/xombrero.c index 237f3e0..1795ff7 100644 --- a/xombrero.c +++ b/xombrero.c @@ -1991,7 +1991,6 @@ check_cert_changes(struct tab *t, GTlsCertificate *cert, const char *file, const /* cache new certificate */ args.i = XT_CACHE; cert_cmd(t, &args); - ret = 1; break; case CERT_BAD: if ((soupuri = soup_uri_new(uri)) == NULL || @@ -2002,6 +2001,7 @@ check_cert_changes(struct tab *t, GTlsCertificate *cert, const char *file, const t->xtp_meaning = XT_XTP_TAB_MEANING_SV; args.s = g_strdup((char *)uri); xtp_page_sv(t, &args); + ret = 1; break; } @@ -2009,7 +2009,7 @@ check_cert_changes(struct tab *t, GTlsCertificate *cert, const char *file, const soup_uri_free(soupuri); if (chain) g_free(chain); - return (0); + return (ret); } int |