Grebelsky, Konstantin wrote:
>
> I have created my own certificate and a key.
> When I try to set certificate in
>
> if ((m_nErrorCode = SSL_CTX_use_certificate_file(m_pCtx,
> m_cerFilePath, SSL_FILETYPE_PEM)) <= 0)
> {
> //I am apparently getting an error
>
> }
> I get an error. I would like to either debug the code (step into
> SSL_CTX_use_certificate_file) to find out where exactly it fails and why or
> at least get an error code or possibly an error string?
As with most function read err(3). In particular
ERR_print_errors_fp(stderr) or whatever may help.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]