commit 121f4b18e561df723bb906c3d93d81ccf4b7fce5
parent fba8914aaf914bc2dcb7bf8824354a514aeef974
Author: Colin Leroy <colin@colino.net>
Date: Fri, 16 May 2008 05:34:05 +0000
2008-05-16 [colin] 3.4.0cvs42
* src/gtk/sslcertwindow.c
Fix SHA1 fingerprint with GnuTLS
Diffstat:
4 files changed, 8 insertions(+), 1 deletion(-)
diff --git 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
diff --git a/PATCHSETS b/PATCHSETS
@@ -3337,3 +3337,4 @@
( 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
diff --git a/configure.ac b/configure.ac
@@ -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=
diff --git a/src/gtk/sslcertwindow.c b/src/gtk/sslcertwindow.c
@@ -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);