diff options
author | Jose <jose@zeroc.com> | 2016-12-14 22:51:50 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-12-14 22:51:50 +0100 |
commit | 64bc7eef5fc343c33acd6264ed26330de7d2e3a5 (patch) | |
tree | 17550e0b2e3d9356b6c934154fb57e174503f146 /cpp/src/Ice/SHA1.cpp | |
parent | Windows test script fixes (diff) | |
download | ice-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.cpp | 6 |
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"); |