[gnutls-dev] non-ASCII ASN.1 string types

Joe Orton joe at manyfish.co.uk
Thu Oct 7 23:04:55 CEST 2004


The gnutls_x509_crq_get_dn_by_oid documentation states the output will
be "ASCII or UTF-8 encoded, depending on certificate data".  Is there
really code to back that up?

For a certificate with the OU encoded as a BMPString, the function
appears to simply give back the raw UCS-2 data, likewise a T61String OU
is given back as-is.

Aleix and I are working on adding GNU TLS support to the neon HTTP
library, and the test suite is finding some issues like this.

joe



More information about the Gnutls-dev mailing list