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/HttpResponseCommand.h | |
| parent | befd799d177c2860ea4e9c6cf8c744342c394427 (diff) | |
Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always
Diffstat (limited to 'src/HttpResponseCommand.h')
| -rw-r--r-- | src/HttpResponseCommand.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/HttpResponseCommand.h b/src/HttpResponseCommand.h index bd66eae1..7cb367e1 100644 --- a/src/HttpResponseCommand.h +++ b/src/HttpResponseCommand.h @@ -45,9 +45,7 @@ class HttpDownloadCommand; class HttpResponse; class SocketCore; class StreamFilter; -#ifdef ENABLE_MESSAGE_DIGEST class Checksum; -#endif // ENABLE_MESSAGE_DIGEST // HttpResponseCommand receives HTTP response header from remote // server. Because network I/O is non-blocking, execute() returns @@ -76,13 +74,11 @@ private: void poolConnection(); void onDryRunFileFound(); -#ifdef ENABLE_MESSAGE_DIGEST // Returns true if dctx and checksum has same hash type and hash // value. If they have same hash type but different hash value, // throws exception. Otherwise returns false. bool checkChecksum(const std::shared_ptr<DownloadContext>& dctx, const Checksum& checksum); -#endif // ENABLE_MESSAGE_DIGEST protected: bool executeInternal() CXX11_OVERRIDE; |
