diff options
author | Jose <jose@zeroc.com> | 2015-01-16 21:04:33 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-01-16 21:04:33 +0100 |
commit | ca182b9023e8678fb46ee70d00a06580f2954050 (patch) | |
tree | ca0815d020669b8f2b3e3f4a663b966a2a8b81ab /cpp/src/IceUtil | |
parent | Fixed (ICE-6209) - IceUtil/SHA1.h (diff) | |
download | ice-ca182b9023e8678fb46ee70d00a06580f2954050.tar.bz2 ice-ca182b9023e8678fb46ee70d00a06580f2954050.tar.xz ice-ca182b9023e8678fb46ee70d00a06580f2954050.zip |
Fix to previous commit
Diffstat (limited to 'cpp/src/IceUtil')
-rw-r--r-- | cpp/src/IceUtil/SHA1.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IceUtil/SHA1.cpp b/cpp/src/IceUtil/SHA1.cpp index fc55a2d3087..fba3eb24a25 100644 --- a/cpp/src/IceUtil/SHA1.cpp +++ b/cpp/src/IceUtil/SHA1.cpp @@ -33,7 +33,9 @@ class SHA1::Hasher public: Hasher(); +# ifdef _WIN32 ~Hasher(); +#endif void update(const unsigned char*, std::size_t); void finalize(std::vector<unsigned char>&); @@ -100,9 +102,6 @@ IceUtilInternal::SHA1::Hasher::Hasher() { SHA1_Init(&_ctx); } -IceUtilInternal::SHA1::Hasher::~Hasher() -{ -} # endif void |