summaryrefslogtreecommitdiff
path: root/iterhash.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-05-30 16:37:41 -0400
committerJeffrey Walton <noloader@gmail.com>2017-05-30 16:37:41 -0400
commiteb3b27a6a5432b21e8e0bb2abb364096b2dca41e (patch)
tree73eaf4da159a59a9d8cbf5b1c0d3f9c9293398d0 /iterhash.h
parent23448050c0083f026bed98b00742dbd4c4ae72eb (diff)
downloadcryptopp-git-eb3b27a6a5432b21e8e0bb2abb364096b2dca41e.tar.gz
Clear Visual Studio warnings (Issue 412)
Diffstat (limited to 'iterhash.h')
-rw-r--r--iterhash.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/iterhash.h b/iterhash.h
index bdfa05ab..1b3e7cb5 100644
--- a/iterhash.h
+++ b/iterhash.h
@@ -1,3 +1,5 @@
+// strciphr.h - originally written and placed in the public domain by Wei Dai
+
#ifndef CRYPTOPP_ITERHASH_H
#define CRYPTOPP_ITERHASH_H
@@ -6,6 +8,14 @@
#include "misc.h"
#include "simple.h"
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(push)
+# pragma warning(disable: 4231 4275)
+# if (CRYPTOPP_MSC_VERSION >= 1400)
+# pragma warning(disable: 6011 6386 28193)
+# endif
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
//! \class HashInputTooLong
@@ -179,4 +189,8 @@ protected:
NAMESPACE_END
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(pop)
+#endif
+
#endif