2008-05-16 [colin] 3.4.0cvs42
authorColin Leroy <colin@colino.net>
Fri, 16 May 2008 05:34:05 +0000 (05:34 +0000)
committerColin Leroy <colin@colino.net>
Fri, 16 May 2008 05:34:05 +0000 (05:34 +0000)
* src/gtk/sslcertwindow.c
Fix SHA1 fingerprint with GnuTLS

ChangeLog
PATCHSETS
configure.ac
src/gtk/sslcertwindow.c

index 03f4fa4..62da4b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-16 [colin]     3.4.0cvs42
+
+       * src/gtk/sslcertwindow.c
+               Fix SHA1 fingerprint with GnuTLS
+
 2008-05-15 [colin]     3.4.0cvs41
 
        * src/gtk/sslcertwindow.c
index 7c860e5..bd5d2c6 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.179.2.217 -r 1.179.2.218 src/imap.c;  ) > 3.4.0cvs39.patchset
 ( cvs diff -u -r 1.179.2.218 -r 1.179.2.219 src/imap.c;  cvs diff -u -r 1.9.2.20 -r 1.9.2.21 src/gtk/sslcertwindow.c;  ) > 3.4.0cvs40.patchset
 ( cvs diff -u -r 1.9.2.21 -r 1.9.2.22 src/gtk/sslcertwindow.c;  ) > 3.4.0cvs41.patchset
+( cvs diff -u -r 1.9.2.22 -r 1.9.2.23 src/gtk/sslcertwindow.c;  ) > 3.4.0cvs42.patchset
index 27e03ba..b377a7e 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=41
+EXTRA_VERSION=42
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 5587c6e..ea0b4c9 100644 (file)
@@ -213,6 +213,7 @@ static GtkWidget *cert_presenter(SSLCertificate *cert)
        n = 128;
        gnutls_x509_crt_get_fingerprint(cert->x509_cert, GNUTLS_DIG_MD5, md, &n);
        md5_fingerprint = readable_fingerprint(md, (int)n);
+       n = 128;
        gnutls_x509_crt_get_fingerprint(cert->x509_cert, GNUTLS_DIG_SHA1, md, &n);
        sha1_fingerprint = readable_fingerprint(md, (int)n);