From 595c16d858ef0b26dfc907e8a112a690185d6dec Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 2 Jun 2007 21:08:07 +0000 Subject: [PATCH] libtorrent fix --- libtorrent/include/libtorrent/hasher.hpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libtorrent/include/libtorrent/hasher.hpp b/libtorrent/include/libtorrent/hasher.hpp index d1743527a..3333edf07 100755 --- a/libtorrent/include/libtorrent/hasher.hpp +++ b/libtorrent/include/libtorrent/hasher.hpp @@ -40,25 +40,10 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/config.hpp" #include "zlib.h" -#ifdef TORRENT_USE_OPENSSL extern "C" { #include } -#else -// from sha1.cpp -struct TORRENT_EXPORT SHA_CTX -{ - boost::uint32_t state[5]; - boost::uint32_t count[2]; - boost::uint8_t buffer[64]; -}; - -TORRENT_EXPORT void SHA1_Init(SHA_CTX* context); -TORRENT_EXPORT void SHA1_Update(SHA_CTX* context, boost::uint8_t const* data, boost::uint32_t len); -TORRENT_EXPORT void SHA1_Final(boost::uint8_t* digest, SHA_CTX* context); - -#endif namespace libtorrent {