summaryrefslogtreecommitdiff
path: root/sha1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sha1.cpp')
-rw-r--r--sha1.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sha1.cpp b/sha1.cpp
index fceb463..9578438 100644
--- a/sha1.cpp
+++ b/sha1.cpp
@@ -82,9 +82,11 @@ A million repetitions of "a"
#include "sha1.h"
+#if defined(_MSC_VER)
#pragma warning(disable : 4267)
#pragma warning(disable : 4996)
#pragma warning(disable : 4100)
+#endif
void SHA1_Transform(uint32_t state[5], const uint8_t buffer[64]);
@@ -320,4 +322,4 @@ int main(int argc, char** argv)
fprintf(stdout, "ok\n");
return(0);
}
-#endif /* TEST */ \ No newline at end of file
+#endif /* TEST */