From: hno <> Date: Thu, 3 Aug 2006 03:46:22 +0000 (+0000) Subject: Bug #1716: Fails to compile with OpenSSL 0.9.7j X-Git-Tag: SQUID_3_0_PRE5~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afdd443fa3d763c63ef6704697d0794bab6141a1;p=thirdparty%2Fsquid.git Bug #1716: Fails to compile with OpenSSL 0.9.7j --- diff --git a/src/client_side.cc b/src/client_side.cc index b241898804..3b0292bb2c 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.730 2006/07/25 18:07:15 hno Exp $ + * $Id: client_side.cc,v 1.731 2006/08/02 21:46:22 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -2930,7 +2930,7 @@ clientNegotiateSSL(int fd, void *data) /* Write out the SSL session details.. actually the call below, but * OpenSSL headers do strange typecasts confusing GCC.. */ /* PEM_write_SSL_SESSION(debug_log, SSL_get_session(ssl)); */ -#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x0090708FL +#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x00908000L PEM_ASN1_write((i2d_of_void *)i2d_SSL_SESSION, PEM_STRING_SSL_SESSION, debug_log, (char *)SSL_get_session(ssl), NULL,NULL,0,NULL,NULL); #elif defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER == 0x0090704fL