[gnutls-dev] GnuTLS 1.3.0

Joe Orton joe at manyfish.co.uk
Tue Nov 29 22:46:23 CET 2005


Patch below fixes session caching with 1.3.0.  The neon test suite is 
still failing in some strange ways relative to 1.0.25, so there may be 
some more regressions too.

* lib/gnutls_session_pack.c (pack_certificate_auth_info): Initialize
cert_size to zero.

--- gnutls_session_pack.c.orig
+++ gnutls_session_pack.c
@@ -269,6 +269,8 @@
 
   if (info)
     {
+      cert_size = 0;
+
       for (i = 0; i < info->ncerts; i++)
 	cert_size += info->raw_certificate_list[i].size;
 



More information about the Gnutls-dev mailing list