summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/UWPEngine.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2017-05-02 13:58:41 -0400
committerJoe George <joe@zeroc.com>2017-05-02 15:42:34 -0400
commitcd472ddf8bd8a9c2bcfc80e988e6db450ea7dbf9 (patch)
tree5dbc0bfc43e2c195ab7e7d819e1914611f943f1d /cpp/src/IceSSL/UWPEngine.cpp
parentRemoved trailing whitespace generated by slice2js (diff)
downloadice-cd472ddf8bd8a9c2bcfc80e988e6db450ea7dbf9.tar.bz2
ice-cd472ddf8bd8a9c2bcfc80e988e6db450ea7dbf9.tar.xz
ice-cd472ddf8bd8a9c2bcfc80e988e6db450ea7dbf9.zip
Remove trailing whitespace
Diffstat (limited to 'cpp/src/IceSSL/UWPEngine.cpp')
-rw-r--r--cpp/src/IceSSL/UWPEngine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/IceSSL/UWPEngine.cpp b/cpp/src/IceSSL/UWPEngine.cpp
index 97fcbda9b1f..2186c38c526 100644
--- a/cpp/src/IceSSL/UWPEngine.cpp
+++ b/cpp/src/IceSSL/UWPEngine.cpp
@@ -60,7 +60,7 @@ findPersonalCertificate(String^ friendlyName)
try
{
auto certificates = IceInternal::runSync(CertificateStores::FindAllAsync(query));
- return certificates->Size > 0 ? certificates->GetAt(0) : nullptr;
+ return certificates->Size > 0 ? certificates->GetAt(0) : nullptr;
}
catch(Platform::Exception^ ex)
{
@@ -97,7 +97,7 @@ importPfxData(String^ friendlyName, String^ data, String^ password)
}
else
{
- throw PluginInitializationException(__FILE__, __LINE__,
+ throw PluginInitializationException(__FILE__, __LINE__,
"IceSSL: certificate error:\n" + wstringToString(ex->Message->Data()));
}
}
@@ -296,12 +296,12 @@ UWP::SSLEngine::initialize()
if(!certFile.empty())
{
_certificate = dynamic_pointer_cast<UWP::Certificate>(UWP::Certificate::create(importPersonalCertificate(
- certFile,
+ certFile,
[this]()
{
return password(false);
- },
- getPasswordPrompt() != nullptr,
+ },
+ getPasswordPrompt() != nullptr,
passwordRetryMax)));
}
else if(!findCert.empty())