1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Fix a compile failure with recent OpenSSL and picky compilers

(e.g., OpenSSL 0.9.7a and xlc_r on AIX).

The OpenSSL info callback field changed recently from a generic
function pointer to a specific one, and ssl_callback_LogTracingState
wasn't quite right.

old:
ssl.h:        void (*info_callback)();

new:
ssl.h:        void (*info_callback)(const SSL *ssl,int type,int val);


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99201 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeff Trawick
2003-04-04 03:57:10 +00:00
parent a9a0a20c30
commit 4901acb22a
3 changed files with 5 additions and 2 deletions

View File

@@ -1745,7 +1745,7 @@ void ssl_callback_DelSessionCacheEntry(SSL_CTX *ctx,
* SSL handshake and does SSL record layer stuff. We use it to
* trace OpenSSL's processing in out SSL logfile.
*/
void ssl_callback_LogTracingState(SSL *ssl, int where, int rc)
void ssl_callback_LogTracingState(const SSL *ssl, int where, int rc)
{
conn_rec *c;
server_rec *s;