SOURCES: wvstreams-new-ssl.patch (NEW) - casts required for build ...
sparky
sparky at pld-linux.org
Sun Mar 5 14:44:19 CET 2006
Author: sparky Date: Sun Mar 5 13:44:19 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- casts required for build with new openssl
---- Files affected:
SOURCES:
wvstreams-new-ssl.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/wvstreams-new-ssl.patch
diff -u /dev/null SOURCES/wvstreams-new-ssl.patch:1.1
--- /dev/null Sun Mar 5 14:44:19 2006
+++ SOURCES/wvstreams-new-ssl.patch Sun Mar 5 14:44:14 2006
@@ -0,0 +1,29 @@
+diff -Nur wvstreams-4.0.2/crypto/wvtripledes.cc wvstreams-4.0.2.new_ssl/crypto/wvtripledes.cc
+--- wvstreams-4.0.2/crypto/wvtripledes.cc 2005-03-24 03:01:23.000000000 +0100
++++ wvstreams-4.0.2.new_ssl/crypto/wvtripledes.cc 2006-03-05 14:36:11.000000000 +0100
+@@ -103,7 +103,7 @@
+ while (len >= 8)
+ {
+ #if OPENSSL_VERSION_NUMBER >= 0x0090705FL
+- DES_ecb3_encrypt(data, crypt,
++ DES_ecb3_encrypt((unsigned char (*)[8])data, (unsigned char (*)[8])crypt,
+ &deskey1, &deskey2, &deskey3,
+ mode == ECBEncrypt ? DES_ENCRYPT : DES_DECRYPT);
+ #else
+diff -Nur wvstreams-4.0.2/crypto/wvx509.cc wvstreams-4.0.2.new_ssl/crypto/wvx509.cc
+--- wvstreams-4.0.2/crypto/wvx509.cc 2005-03-24 03:01:23.000000000 +0100
++++ wvstreams-4.0.2.new_ssl/crypto/wvx509.cc 2006-03-05 14:35:18.000000000 +0100
+@@ -1163,11 +1163,11 @@
+ {
+ void *ext_data = NULL;
+ if (method->it)
+- ext_data = ASN1_item_d2i(NULL, &ext->value->data,
++ ext_data = ASN1_item_d2i(NULL, (const unsigned char**)&ext->value->data,
+ ext->value->length,
+ ASN1_ITEM_ptr(method->it));
+ else
+- ext_data = method->d2i(NULL, &ext->value->data,
++ ext_data = method->d2i(NULL, (const unsigned char**)&ext->value->data,
+ ext->value->length);
+
+ if (method->i2s)
================================================================
More information about the pld-cvs-commit
mailing list