[gnutls-devel] Various fixes for hex DN attributes

Stef Walter stefw at gnome.org
Wed May 8 17:33:23 CEST 2013


On 27.04.2013 20:54, Nikos Mavrogiannopoulos wrote:
> On Sat, Apr 27, 2013 at 4:44 PM, Stef Walter <stefw at gnome.org> wrote:
>> The encoding of unrecognized (or non-string) DN attributes via functions
>> like gnutls_x509_crt_get_dn() doesn't work properly. The function
>> returns GNUTLS_E_ASN1_DER_ERROR. Attached are a number of patches and
>> some test code to demonstrate the problem and fix related things.
> 
> Thank you for that patches and the report. I've committed a slightly
> different fix for the first two as it uncovered some issues in the
> code.
> 
> Did you notice any such issues in the 3.0.x series?

Sorry, I haven't been able to test that.

But I did attach a simple test case to my original post which should
make this pretty simple to verify.

Cheers,

Stef




More information about the Gnutls-devel mailing list