diff options
author | Josh Rickmar <jrick@devio.us> | 2012-05-18 09:54:06 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-05-18 09:55:33 -0400 |
commit | 0d721d4a930735f0e852e2febdd679c1af874ddc (patch) | |
tree | e05657435f1c75a65de74c0b2d525e90b01a7381 /xombrero.c | |
parent | e6838ea12ffb341c2aabaaee9a9071f5a46a2c24 (diff) | |
download | xombrero-0d721d4a930735f0e852e2febdd679c1af874ddc.tar.gz |
Prevent a nasty bug where saved certificates were not being completely
checked for differences. This will cause the URL bar to be colored red if there are any differences between a saved and remote certificate.
Diffstat (limited to 'xombrero.c')
-rw-r--r-- | xombrero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xombrero.c b/xombrero.c index daad246..f5b55e5 100644 --- a/xombrero.c +++ b/xombrero.c @@ -1842,7 +1842,7 @@ load_compare_cert(const gchar *uri, const gchar **error_str) rv = CERT_BAD; /* critical */ goto freeit; } - if (bcmp(r_cert_buf, cert_buf, sizeof cert_buf_sz)) { + if (bcmp(r_cert_buf, cert_buf, cert_buf_sz)) { rv = CERT_BAD; /* critical */ goto freeit; } |