pkgsrc/net/ettercap/patches/patch-af
ben 73d1e9cd64 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.
2004-10-22 14:10:44 +00:00

17 lines
402 B
Text

$NetBSD: patch-af,v 1.3 2004/10/22 14:10:44 ben Exp $
--- 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>