diff options
author | miwi <miwi@FreeBSD.org> | 2009-03-03 02:55:39 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-03-03 02:55:39 +0800 |
commit | 0e6e7e156a274f84901ed2f60c28eaca0aaea0f8 (patch) | |
tree | f07c8473f07c91e4dec98064848b54437a106edf /security/qca-ossl/files | |
parent | 4d8296239f5c84a776c0fe32ce0f7cb776314fca (diff) | |
download | freebsd-ports-gnome-0e6e7e156a274f84901ed2f60c28eaca0aaea0f8.tar.gz freebsd-ports-gnome-0e6e7e156a274f84901ed2f60c28eaca0aaea0f8.tar.zst freebsd-ports-gnome-0e6e7e156a274f84901ed2f60c28eaca0aaea0f8.zip |
- Fix build with OpenSSL from ports
PR: 132097
Submitted by: Matt Dawson <matt@chronos.org.uk>
Thanks to: dinoex@
Diffstat (limited to 'security/qca-ossl/files')
-rw-r--r-- | security/qca-ossl/files/patch-qca-oss.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
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)" ) |