On Jun 29, 2011, at 5:22 AM, Kenneth Porter wrote:
> I need to update an old piece of code written for 0.9.7 that uses the 
> obsolete ASN1_HEADER struct as part of importing a Netscape certificate  [...]

It looks like that piece of code was adapted from load_cert() in openssl's 
apps.c. Try looking in the current version of apps.c and re-adapting what you 
find there--- I know nothing about the Netscape cert format (is it still used 
anywhere?) but it seems to simply be an OCTET_STRING containing a magic value 
(the text "certificate"), followed by a normal X509 structure; and there's an 
{i2d,d2i,etc}_NETSCAPE_X509() in libcrypto now to handle it.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to