On Thu, Jul 28, 2005, Nils Larsch wrote:

> Tan Eng Ten wrote:
> >This is another example of the problem I highlighted a few days ago. You 
> >need to be very careful with which getter methods return a new instance 
> >(or inc the ref count), and which ones do not.
> >
> >Definitely not a bug but a matter of consistency.
> 
> it's certainly a bug but it might be caused by a not so
> optimal docu and naming scheme. A better name for this
> function would be PKCS7_get0_cert_from_signer_info ...
> 

Or instead of using undocumented internal structures and functions use the
documented PKCS7_get0_signers().

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to