On Thu, Feb 21, 2008 at 11:39:17AM +0000, Joe Orton wrote:
This adds another DN function, to export a DN object back to DER. (I
only really need a DER export; the value of exporting a DN to PEM format
is certainly questionable, but this is allowed for consistency with the
other _foo_export functions)
Hmmm, that didn't actually work, and I don't really understand why. Can
anyone help? This is rather beyond my understanding of ASN.1/libtasn1!
The asn1_der_coding(asn1_data, "") call was failing with the error
ASN1_ELEMENT_NOT_FOUND in _gnutls_x509_export_int. Is that call not
supposed to provide the DER coding for the entire node?