gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnutls-dev] Re: Problem with subject names. (Ändrat av Pelle Johansson


From: Simon Josefsson
Subject: [gnutls-dev] Re: Problem with subject names. (Ändrat av Pelle Johansson)
Date: Mon, 01 Nov 2004 21:26:29 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Pelle Johansson <address@hidden> writes:

> Seems I replied privately only...
>
> Nikos Mavrogiannopoulos wrote:
>
>>On Friday 29 October 2004 00:30, Pelle Johansson wrote:
>>
>>  
>>
>>>I'm having some problem with the subject name extraction functions. I
>>>want to extract the common name from a certificate using
>>>gnutls_x509_crt_get_dn_by_oid(), but I'm always getting a
>>>GNUTLS_E_SHORT_MEMORY_BUFFER. This is regardless if I call with a NULL
>>>buf argument or with buf_sizeof set to 10000.
>>>    
>>>
>>Does this happen with the latest gnutls? (that is 1.0.22)
>>
> Yes, same symptom (tried on .21 and .22).
>
> I'm suspecting perhaps an endian problem? I'm on PPC and they're far
> from uncommon...
> I guess I could make a library I can descend into to see if I find the
> problem.

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

Thanks in advance,
Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]