On Thursday 26 February 2009 18:40:02 Dirk Meyer wrote:
>  Hello,
>
>  I looked int this.
>  I rebuild with option WITH_OPENSSL_PORTS=yes
>       qt4-network-4.4.3
>       qca-2.0.0_1
>
>  Then patched qca-ossl with the patch below.
>  I detects OpenSSL but the build fails as EVP_whirlpool ist not defined.

I reported this myself to kde@ on 2008-10-19 21:01 after the OpenSSL port 
update of October 9th - that patch is attached. This is directly from the 
upstream's SVN [1], so they know about this issue. I guess they didn't want to 
roll a new tarball just for the sake of four comment lines. It's there in my 
version of the port, but I added it locally and csup obviously didn't delete 
it as it was never present in CVS.

I'll throw the configure args into the Makefile without the conditional I 
tried last time and run both my patch and yours through tindy [2] again. It'll 
be a while as it's currently rebuilding the desktop packages after a csup 
yesterday.

Best regards,
-- 
Matt Dawson
MTD15-RIPE
m...@chronos.org.uk

[1] <http://websvn.kde.org/trunk/kdesupport/qca/plugins/qca-ossl/qca-
ossl.cpp?view=log>
[2] https://tinderbox.chronos.org.uk/tb/
--- qca-ossl.cpp.orig	2008-10-19 20:53:22.000000000 +0100
+++ qca-ossl.cpp	2008-10-19 20:55:38.000000000 +0100
@@ -327,7 +327,7 @@
 	X509V3_CTX ctx;
 	X509V3_set_ctx_nodb(&ctx);
 	X509V3_set_ctx(&ctx, NULL, cert, NULL, NULL, 0);
-	X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, "hash");
+	X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, (char*)"hash");
 	return ex;
 }
 
@@ -6597,9 +6597,11 @@
 #ifdef SHA512_DIGEST_LENGTH
 	list += "sha512";
 #endif
+/*
 #ifdef OBJ_whirlpool
 	list += "whirlpool";
 #endif
+*/
 	return list;
 }
 
@@ -6810,10 +6812,12 @@
 		else if ( type == "sha512" )
 			return new opensslHashContext( EVP_sha512(), this, type);
 #endif
+/*
 #ifdef OBJ_whirlpool
 		else if ( type == "whirlpool" )
 			return new opensslHashContext( EVP_whirlpool(), this, type);
 #endif
+*/
 		else if ( type == "pbkdf1(sha1)" )
 			return new opensslPbkdf1Context( EVP_sha1(), this, type );
 		else if ( type == "pbkdf1(md2)" )
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to