diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-07-04 10:57:56 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-07-04 10:57:56 +0000 |
| commit | 31cf446f6d078efe96fe0d5e7433cf56a224a493 (patch) | |
| tree | 42cecd9e9a52261c509bd8a2b18032d2f6d517ee /src/messageDigest.h | |
| parent | 8d340992d61ae1649f5ae0b9374bb48a6ac38a8b (diff) | |
2006-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
To improve the conditional compilation:
* src/MultiDiskWriter.h:
Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
* src/MultiDiskWriter.cc:
Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
* src/Util.h:
Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
Added ENABLE_BITTORRENT around computeFastSet().
* src/Util.cc:
Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
Added ENABLE_BITTORRENT around computeFastSet().
* src/messageDigest.h:
Replaced ENABLE_BITTORRENT with ENABLE_SSL.
* src/ShaVisitor.h:
Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
* src/ShaVisitor.cc:
Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
* src/main.cc:
Added ENABLE_BITTORRENT around includes and blocks related to
BitTorrent.
* src/AbstractDiskWriter.h:
Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
* src/AbstractDiskWriter.cc:
Replaced ENABLE_SHA1DIGEST with ENABLE_MESSAGE_DIGEST.
To add command-line options for Metalink:
* src/main.cc:
Added metalink-version, metalink-language, metalink-os,
follow-metalink.
To use EXIT_SUCCESS and EXIT_FAILURE with exit():
* src/main.cc: Use these definition.
Diffstat (limited to 'src/messageDigest.h')
| -rw-r--r-- | src/messageDigest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messageDigest.h b/src/messageDigest.h index a514441c..b084f07b 100644 --- a/src/messageDigest.h +++ b/src/messageDigest.h @@ -24,7 +24,7 @@ #include "common.h" -#ifdef ENABLE_BITTORRENT +#ifdef ENABLE_SSL #ifdef HAVE_LIBSSL #include <openssl/evp.h> @@ -103,6 +103,6 @@ memcpy(HASH, gcry_md_read(CTX.ctx, 0), gcry_md_get_algo_dlen(CTX.algo));\ #define digestFree(CTX) gcry_md_close(CTX.ctx) #endif // HAVE_LIBGCRYPT -#endif // ENABLE_BITTORRENT +#endif // ENABLE_SSL #endif // _D_MESSAGE_DIGEST_H_ |
