[gnutls-dev] _gnutls_x509_cert2gnutls_cert fails on FreeBSD

Gergely Nagy algernon@bonehunter.rulez.org
Sun Apr 20 19:18:01 2003


> > > Oh, I'm using GNUTLS 0.8.6 from the ports collection. Browsing the NEWS
> > > file of CVS HEAD, I see:
> > > - Added an strnstr() function and the requirement in some functions to
> > >   use null terminated PEM structures is no more.
> > > Might this be relevant?
> > (Answering myself:) Yes.
> > Would it be possible to backport this to 0.8?
> 
> I don't think that this is the case, since your error is a DER parsing
> error, and the above patch is not about it. Does the 0.9.x version of
> gnutls works for you? 

Yes, it does. I tried 0.9.4. I don't really know why I got the
impression that the above change helped...

> If not could you try compiling with enabling the DEBUG definition in gnutls_int.h?

Although 0.9.4 worked for me, if enabling this can be of help to
backport a fix to 0.8, I'll try a compile with it.