
cherokee at cherokee-project
Jul 2, 2009, 3:36 AM
Post #1 of 1
(83 views)
Permalink
|
|
[3416] cherokee/trunk/cherokee/cryptor_libssl.c: Adds a couple of additional TRACE points
|
|
Revision: 3416 http://svn.cherokee-project.com/changeset/3416 Author: alo Date: 2009-07-02 12:36:53 +0200 (Thu, 02 Jul 2009) Log Message: ----------- Adds a couple of additional TRACE points Modified Paths: -------------- cherokee/trunk/cherokee/cryptor_libssl.c Modified: cherokee/trunk/cherokee/cryptor_libssl.c =================================================================== --- cherokee/trunk/cherokee/cryptor_libssl.c 2009-07-02 08:40:44 UTC (rev 3415) +++ cherokee/trunk/cherokee/cryptor_libssl.c 2009-07-02 10:36:53 UTC (rev 3416) @@ -313,13 +313,17 @@ } } - /* Certificate - */ #if (OPENSSL_VERSION_NUMBER < 0x0090808fL) /* OpenSSL < 0.9.8h */ ERR_clear_error(); #endif + + /* Certificate + */ + TRACE(ENTRIES, "Vserver '%s'. Reading certificate file '%s'\n", + vsrv->name.buf, vsrv->server_cert.buf); + rc = SSL_CTX_use_certificate_chain_file (n->context, vsrv->server_cert.buf); if (rc != 1) { OPENSSL_LAST_ERROR(error); @@ -330,6 +334,9 @@ /* Private key */ + TRACE(ENTRIES, "Vserver '%s'. Reading key file '%s'\n", + vsrv->name.buf, vsrv->server_key.buf); + rc = SSL_CTX_use_PrivateKey_file (n->context, vsrv->server_key.buf, SSL_FILETYPE_PEM); if (rc != 1) { OPENSSL_LAST_ERROR(error);
|