diff options
| author | Nils Maier <maierman@web.de> | 2014-04-17 01:36:19 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-04-17 18:02:42 +0200 |
| commit | 010131161ebdea22e5b6eb4fd0740e8e6da3df67 (patch) | |
| tree | 3a768bbd2796056c65de9630a6ab6946d4eda43f /src/HttpResponse.cc | |
| parent | befd799d177c2860ea4e9c6cf8c744342c394427 (diff) | |
Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always
Diffstat (limited to 'src/HttpResponse.cc')
| -rw-r--r-- | src/HttpResponse.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/HttpResponse.cc b/src/HttpResponse.cc index dae61dc3..c4168b3e 100644 --- a/src/HttpResponse.cc +++ b/src/HttpResponse.cc @@ -59,9 +59,7 @@ #include "MetalinkHttpEntry.h" #include "base64.h" #include "array_fun.h" -#ifdef ENABLE_MESSAGE_DIGEST #include "MessageDigest.h" -#endif // ENABLE_MESSAGE_DIGEST #ifdef HAVE_ZLIB # include "GZipDecodingStreamFilter.h" #endif // HAVE_ZLIB @@ -395,7 +393,6 @@ void HttpResponse::getMetalinKHttpEntries( std::sort(result.begin(), result.end()); } -#ifdef ENABLE_MESSAGE_DIGEST // Digest header field is defined by // http://tools.ietf.org/html/rfc3230. void HttpResponse::getDigest(std::vector<Checksum>& result) const @@ -445,6 +442,5 @@ void HttpResponse::getDigest(std::vector<Checksum>& result) const } std::swap(temp, result); } -#endif // ENABLE_MESSAGE_DIGEST } // namespace aria2 |
