[gnutls-dev] [PATCH] error handling large CA files

Nikos Mavroyanopoulos nmav at gnutls.org
Wed Mar 12 22:47:02 CET 2003


On Wed, Mar 12, 2003 at 10:07:11AM -0500, Ian Peters wrote:

> > I'm now working on something that will allow reading mmaped file regions. That
> > will need and strnstr implementation which is not available in gnu libc (thus
> > I'll have to implement it or get it from somewhere).
> Right; I looked at doing it with mmap, but parse_pem_cert_mem and
> similar functions seemed to assume NULL-terminated strings, regardless
> of the passed in length -- hence the need for strnstr and some tweaks in
> the parsing code.
The code commited this morning should have this capability. I'll have a
0.9.1 release soon.

> file into memory for now).  BTW here's a strnstr I used for another
> project a while back, pretty straightforward.
Thank you.

> Also, do you have any plans at this point for what your upcoming
> releases should be?  When do you / will you consider the 0.9.x releases
> to be a better choice than the 0.8.x releases?
The 0.9.x releases have a different API (for the certificate parsing) and 
should be used by new programs. Today I commited most of the planned changes
for the x.509 certificates. What remains to be done, is the new openpgp key
handling API, and probably a certificate request generation api (I've not started
working on it, and I don't know if it will make it to the 1.0.0 release).

When these two features are added I'll move to 0.9.9x which will be testing 
releases for the stable 1.0.0.

> Ian

-- 
Nikos Mavroyanopoulos




More information about the Gnutls-devel mailing list