PKGBUILDs/extra/claws-mail/gnutls313.diff
2012-10-14 16:20:06 +00:00

12 lines
377 B
Diff

diff --git a/src/common/ssl_certificate.c b/src/common/ssl_certificate.c
index efc5c53..8303f3e 100644
--- a/src/common/ssl_certificate.c
+++ b/src/common/ssl_certificate.c
@@ -92,6 +92,7 @@
size_t size;
gnutls_datum tmp;
gnutls_x509_crt dest;
+ size = 0;
if (gnutls_x509_crt_init(&dest) != 0) {
g_warning("couldn't gnutls_x509_crt_init\n");