From 010131161ebdea22e5b6eb4fd0740e8e6da3df67 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Thu, 17 Apr 2014 01:36:19 +0200 Subject: Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always --- src/HttpResponseCommand.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/HttpResponseCommand.h') 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& dctx, const Checksum& checksum); -#endif // ENABLE_MESSAGE_DIGEST protected: bool executeInternal() CXX11_OVERRIDE; -- cgit