]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1716: Fails to compile with OpenSSL 0.9.7j
authorhno <>
Thu, 3 Aug 2006 03:46:22 +0000 (03:46 +0000)
committerhno <>
Thu, 3 Aug 2006 03:46:22 +0000 (03:46 +0000)
src/client_side.cc

index b241898804f5b581c8e35a52e87bf21b45029024..3b0292bb2ca30e0ec37a61b7f461805b02e9e149 100644 (file)
@@ -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