ports/net/ctorrent/files/patch-btcontent.cpp
Alexander Leidinger d77249ca37 - fix OpenSSL handling
- add SIZE
- fix a minor configure warning

PR:		64389
Submitted by:	marius
Reminded by:	marius
Approved by:	maintainer
2004-07-02 10:03:36 +00:00

14 lines
320 B
C++

--- btcontent.cpp.orig Sun Feb 1 06:18:07 2004
+++ btcontent.cpp Fri Feb 13 03:09:22 2004
@@ -8,7 +8,11 @@
#else
#include <unistd.h>
#include <sys/param.h>
+#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD)
+#include <sha.h>
+#elif defined(HAVE_LIBSSL)
#include <openssl/sha.h>
+#endif
#endif
#include <time.h>