diff options
author | Jose <jose@zeroc.com> | 2015-01-16 19:33:34 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-01-16 19:33:34 +0100 |
commit | 11d86754d6f6b967ce0efaa202a3faa074b22cc2 (patch) | |
tree | 8c8e41f81d45bd0730181a34453ea95e09ae4395 /cpp/src/Ice/WSTransceiver.cpp | |
parent | ICE-6259 ObjC enable collocation optimization (diff) | |
download | ice-11d86754d6f6b967ce0efaa202a3faa074b22cc2.tar.bz2 ice-11d86754d6f6b967ce0efaa202a3faa074b22cc2.tar.xz ice-11d86754d6f6b967ce0efaa202a3faa074b22cc2.zip |
Fixed (ICE-6209) - IceUtil/SHA1.h
Diffstat (limited to 'cpp/src/Ice/WSTransceiver.cpp')
-rw-r--r-- | cpp/src/Ice/WSTransceiver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/WSTransceiver.cpp b/cpp/src/Ice/WSTransceiver.cpp index 5ec521f3fe7..4a0ac50c913 100644 --- a/cpp/src/Ice/WSTransceiver.cpp +++ b/cpp/src/Ice/WSTransceiver.cpp @@ -1001,7 +1001,7 @@ IceInternal::WSTransceiver::handleRequest(Buffer& responseBuffer) out << "Sec-WebSocket-Accept: "; string input = key + _wsUUID; vector<unsigned char> hash; - IceUtil::sha1(reinterpret_cast<const unsigned char*>(&input[0]), input.size(), hash); + IceUtilInternal::sha1(reinterpret_cast<const unsigned char*>(&input[0]), input.size(), hash); out << IceInternal::Base64::encode(hash) << "\r\n" << "\r\n"; // EOM string str = out.str(); @@ -1099,7 +1099,7 @@ IceInternal::WSTransceiver::handleResponse() } string input = _key + _wsUUID; vector<unsigned char> hash; - IceUtil::sha1(reinterpret_cast<const unsigned char*>(&input[0]), input.size(), hash); + IceUtilInternal::sha1(reinterpret_cast<const unsigned char*>(&input[0]), input.size(), hash); if(val != IceInternal::Base64::encode(hash)) { throw WebSocketException("invalid value `" + val + "' for Sec-WebSocket-Accept"); |