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 03f4fa4af9297ab777cf69d13f667b0c8c25230b..62da4b0d4de5ddde5ee47d69645ae1787d994b0a 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 7c860e59666d9afd7ecd3e201f37394fc962daf6..bd5d2c6a44a451aece0584053424bd9d6640e607 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 27e03bab9f4cb3fa359f3723d74587ff7efb6ca8..b377a7ec039d3f8e76bf18799be3a21e81034dc3 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 5587c6ed0797d020af1647391f65123fb713bc0b..ea0b4c97e6650dce585b40e21125285dad5c5740 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);