On Thu, Sep 04, 2003, Chandran,Vinod wrote: > > Yeah I am refering to loadkeys.c.Is there any specific reason why the usage > of this function > has been discouraged. >
Well the approved way is to use the functions you mention such as PEM_read_X509(). PEM_ASN1_read() is a low level function which has various internal dependencies which may change over time: so it may not work in future. Very old code (in the SSLeay days, 5+ years ago!) did call PEM_ASN1_read() directly because there weren't any PEM_read_X509() functions back then. Steve. -- Dr Stephen N. Henson. Core developer of the OpenSSL project: http://www.openssl.org/ Freelance consultant see: http://www.drh-consultancy.demon.co.uk/ Email: [EMAIL PROTECTED], PGP key: via homepage. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]