[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] [PATCH 1/1] crt_get_issuer_dn and friends request the w
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [gnutls-dev] [PATCH 1/1] crt_get_issuer_dn and friends request the wrong sized buffer |
Date: |
Sat, 28 May 2005 21:10:03 +0200 |
User-agent: |
KMail/1.7.2 |
On Saturday 28 May 2005 20:04, Adam Langley wrote:
> With GnuTLS 1.2.[34] calling gnutls_x509_crt_get_issuer_dn with a NULL
> parameter will cause the function to request (by filling out the int
> *size argument) a buffer which is one byte too small. Calling the
> function again with a buffer of the requested size will fail.
> When a larger buffer is provided, the returned size is one byte too
> large as it includes the NUL terminator which seems to be counter to
> the convention in GnuTLS.
Indeed, it was the other way round. I corrected it in the cvs, thank you.
--
Nikos Mavrogiannopoulos