SOURCES: wvstreams-gcc4.patch - fix #if for various openssl versions.

pluto pluto at pld-linux.org
Thu Jul 27 22:08:19 CEST 2006


Author: pluto                        Date: Thu Jul 27 20:08:19 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix #if for various openssl versions.

---- Files affected:
SOURCES:
   wvstreams-gcc4.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/wvstreams-gcc4.patch
diff -u SOURCES/wvstreams-gcc4.patch:1.2 SOURCES/wvstreams-gcc4.patch:1.3
--- SOURCES/wvstreams-gcc4.patch:1.2	Thu Jul 27 11:47:39 2006
+++ SOURCES/wvstreams-gcc4.patch	Thu Jul 27 22:08:14 2006
@@ -31,3 +31,14 @@
    /**
     * Indicate you are using this object.  This increases the reference
     * count of the object by one.  Usually, when the reference count
+--- wvstreams-4.0.2/crypto/wvtripledes.cc	2005-03-24 02:01:23.000000000 +0000
++++ wvstreams-4.0.2.gcc4/crypto/wvtripledes.cc	2006-07-27 20:08:31.000000000 +0000
+@@ -102,7 +102,7 @@
+ 	// ECB works 64bits at a time
+ 	while (len >= 8)
+ 	{
+-#if OPENSSL_VERSION_NUMBER >= 0x0090705FL
++#if (OPENSSL_VERSION_NUMBER >= 0x0090705FL) && (OPENSSL_VERSION_NUMBER < 0x0090708FL)
+ 	    DES_ecb3_encrypt(data, crypt,
+ 			     &deskey1, &deskey2, &deskey3,
+ 			     mode == ECBEncrypt ? DES_ENCRYPT : DES_DECRYPT);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/wvstreams-gcc4.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list