[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnutls-dev
Subject:    =?ISO-8859-1?Q?Re:_[gnutls-dev]_Re:_Problem_with_subject_names._?=
From:       Pelle Johansson <morth () morth ! org>
Date:       2004-11-24 11:47:17
Message-ID: 97B457C4-3E0E-11D9-8D7D-000D93B08F9A () morth ! org
[Download RAW message or body]


2004-11-01 kl. 21.26 skrev Simon Josefsson:

> Single-stepping through the function to see what trigger the error
> would indeed be useful.

Sorry took me a while, spare time project... Also partly due to that 
configure wouldn't obey my CFLAGS completely, you should probably only 
add optimisation flags if the user didn't give a specific CFLAGS.

Anyway it was an easy fix. Not completely sure why it fixes all the 
problems I was having, but it does. Here's the patch:
--- lib/x509/dn.c.orig  Wed Nov 24 12:31:18 2004
+++ lib/x509/dn.c       Wed Nov 24 12:31:31 2004
@@ -466,6 +466,7 @@

                                 if (result != ASN1_SUCCESS) {
                                         gnutls_assert();
+                                       *sizeof_buf = len;
                                         result = 
_gnutls_asn2err(result);
                                         goto cleanup;
                                 }

-- 
Pelle Johansson
<morth@morth.org>


_______________________________________________
Gnutls-dev mailing list
Gnutls-dev@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnutls-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic