diff options
author | ben <ben> | 2004-10-22 14:10:44 +0000 |
---|---|---|
committer | ben <ben> | 2004-10-22 14:10:44 +0000 |
commit | 06af3018922d5e8dcf19dfe17b1ffde74e228ea3 (patch) | |
tree | c0252039da3c65734f12d03a22a1714aacd4d1d2 /net/ettercap/patches | |
parent | b83ea5acde812c06e3ce7dbcf66dcdd60a8d2306 (diff) | |
download | pkgsrc-06af3018922d5e8dcf19dfe17b1ffde74e228ea3.tar.gz |
Modify how OpenSSL's des.h is included, to make ettercap build with
builtin SSL on -1.6_STABLE and -current. This addresses PR#26615.
Diffstat (limited to 'net/ettercap/patches')
-rw-r--r-- | net/ettercap/patches/patch-af | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/net/ettercap/patches/patch-af b/net/ettercap/patches/patch-af index 405d2b6b183..63f01da565e 100644 --- a/net/ettercap/patches/patch-af +++ b/net/ettercap/patches/patch-af @@ -1,12 +1,17 @@ -$NetBSD: patch-af,v 1.2 2003/12/18 03:01:38 xtraeme Exp $ +$NetBSD: patch-af,v 1.3 2004/10/22 14:10:44 ben Exp $ ---- src/ec_dissector_ssh.c.orig 2003-12-18 03:54:11.000000000 +0100 -+++ src/ec_dissector_ssh.c 2003-12-18 03:54:43.000000000 +0100 -@@ -37,6 +37,7 @@ +--- src/ec_dissector_ssh.c.orig Thu Jul 10 08:25:32 2003 ++++ src/ec_dissector_ssh.c +@@ -37,6 +37,12 @@ #define NS_PUT32 PUTLONG #endif ++#include <openssl/opensslv.h> ++#if OPENSSL_VERSION_NUMBER < 0x0090700fL ++#include <openssl/des.h> ++#else +#include <des.h> ++#endif #include <openssl/ssl.h> #include <openssl/rand.h> #include <ctype.h> |