From 0e6e7e156a274f84901ed2f60c28eaca0aaea0f8 Mon Sep 17 00:00:00 2001 From: miwi Date: Mon, 2 Mar 2009 18:55:39 +0000 Subject: - Fix build with OpenSSL from ports PR: 132097 Submitted by: Matt Dawson Thanks to: dinoex@ --- security/qca-ossl/files/patch-qca-oss.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 security/qca-ossl/files/patch-qca-oss.cpp (limited to 'security/qca-ossl/files') diff --git a/security/qca-ossl/files/patch-qca-oss.cpp b/security/qca-ossl/files/patch-qca-oss.cpp new file mode 100644 index 000000000000..75138984d073 --- /dev/null +++ b/security/qca-ossl/files/patch-qca-oss.cpp @@ -0,0 +1,27 @@ +--- qca-ossl.cpp.orig 2007-12-11 07:34:57.000000000 +0100 ++++ qca-ossl.cpp 2009-02-26 06:41:17.000000000 +0100 +@@ -6597,9 +6597,11 @@ + #ifdef SHA512_DIGEST_LENGTH + list += "sha512"; + #endif ++#if 0 + #ifdef OBJ_whirlpool + list += "whirlpool"; + #endif ++#endif + return list; + } + +@@ -6810,10 +6812,12 @@ + else if ( type == "sha512" ) + return new opensslHashContext( EVP_sha512(), this, type); + #endif ++#if 0 + #ifdef OBJ_whirlpool + else if ( type == "whirlpool" ) + return new opensslHashContext( EVP_whirlpool(), this, type); + #endif ++#endif + else if ( type == "pbkdf1(sha1)" ) + return new opensslPbkdf1Context( EVP_sha1(), this, type ); + else if ( type == "pbkdf1(md2)" ) -- cgit