summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SHA1.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-12-14 22:51:50 +0100
committerJose <jose@zeroc.com>2016-12-14 22:51:50 +0100
commit64bc7eef5fc343c33acd6264ed26330de7d2e3a5 (patch)
tree17550e0b2e3d9356b6c934154fb57e174503f146 /cpp/src/Ice/SHA1.cpp
parentWindows test script fixes (diff)
downloadice-64bc7eef5fc343c33acd6264ed26330de7d2e3a5.tar.bz2
ice-64bc7eef5fc343c33acd6264ed26330de7d2e3a5.tar.xz
ice-64bc7eef5fc343c33acd6264ed26330de7d2e3a5.zip
WinRT -> UWP renames
Diffstat (limited to 'cpp/src/Ice/SHA1.cpp')
-rw-r--r--cpp/src/Ice/SHA1.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/SHA1.cpp b/cpp/src/Ice/SHA1.cpp
index 4373afa15f8..141ffda9a6a 100644
--- a/cpp/src/Ice/SHA1.cpp
+++ b/cpp/src/Ice/SHA1.cpp
@@ -9,7 +9,7 @@
#include <IceUtil/SHA1.h>
-#ifndef ICE_OS_WINRT
+#ifndef ICE_OS_UWP
# if defined(_WIN32)
# include <Wincrypt.h>
# include <IceUtil/Exception.h>
@@ -23,7 +23,7 @@
using namespace std;
using namespace IceUtil;
-#ifndef ICE_OS_WINRT
+#ifndef ICE_OS_UWP
namespace IceUtilInternal
{
@@ -163,7 +163,7 @@ IceUtilInternal::SHA1::finalize(std::vector<unsigned char>& md)
void
IceUtilInternal::sha1(const unsigned char* data, size_t length, vector<unsigned char>& md)
{
-#if defined(ICE_OS_WINRT)
+#if defined(ICE_OS_UWP)
auto dataA =
ref new Platform::Array<unsigned char>(const_cast<unsigned char*>(data), static_cast<unsigned int>(length));
auto hasher = Windows::Security::Cryptography::Core::HashAlgorithmProvider::OpenAlgorithm("SHA1");