summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SecureTransportEngine.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2014-09-18 16:31:22 -0700
committerMark Spruiell <mes@zeroc.com>2014-09-18 16:31:22 -0700
commit47389ed86f956fa4eefbb26f7f950da0f909fa7b (patch)
tree49db6b6f6e8d2c7f2b66838d442bc12aa4c9b422 /cpp/src/IceSSL/SecureTransportEngine.cpp
parentICE-5677 consistent checking of boolean properties (diff)
downloadice-47389ed86f956fa4eefbb26f7f950da0f909fa7b.tar.bz2
ice-47389ed86f956fa4eefbb26f7f950da0f909fa7b.tar.xz
ice-47389ed86f956fa4eefbb26f7f950da0f909fa7b.zip
minor edits to IceSSL/C++
Diffstat (limited to 'cpp/src/IceSSL/SecureTransportEngine.cpp')
-rw-r--r--cpp/src/IceSSL/SecureTransportEngine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/IceSSL/SecureTransportEngine.cpp b/cpp/src/IceSSL/SecureTransportEngine.cpp
index 00d4611a017..9e023ac0ab7 100644
--- a/cpp/src/IceSSL/SecureTransportEngine.cpp
+++ b/cpp/src/IceSSL/SecureTransportEngine.cpp
@@ -1293,7 +1293,7 @@ IceSSL::SecureTransportEngine::newContext(bool incoming)
if(_chain && (err = SSLSetCertificate(ssl, _chain)))
{
throw SecurityException(__FILE__, __LINE__,
- "IceSSL: error while set the SSL context certificate:\n" + errorToString(err));
+ "IceSSL: error while setting the SSL context certificate:\n" + errorToString(err));
}
@@ -1301,7 +1301,7 @@ IceSSL::SecureTransportEngine::newContext(bool incoming)
{
if((err = SSLSetEnabledCiphers(ssl, &_ciphers[0], _ciphers.size())))
{
- throw SecurityException(__FILE__, __LINE__, "IceSSL: error while set ciphers:\n" + errorToString(err));
+ throw SecurityException(__FILE__, __LINE__, "IceSSL: error while setting ciphers:\n" + errorToString(err));
}
}
@@ -1309,7 +1309,7 @@ IceSSL::SecureTransportEngine::newContext(bool incoming)
kSSLSessionOptionBreakOnServerAuth,
true)))
{
- throw SecurityException(__FILE__, __LINE__, "IceSSL: error while set SSL option:\n" + errorToString(err));
+ throw SecurityException(__FILE__, __LINE__, "IceSSL: error while setting SSL option:\n" + errorToString(err));
}
if(_protocolVersionMax != kSSLProtocolUnknown)
@@ -1317,7 +1317,7 @@ IceSSL::SecureTransportEngine::newContext(bool incoming)
if((err = SSLSetProtocolVersionMax(ssl, _protocolVersionMax)))
{
throw SecurityException(__FILE__, __LINE__,
- "IceSSL: error while set SSL protocol version max:\n" + errorToString(err));
+ "IceSSL: error while setting SSL protocol version max:\n" + errorToString(err));
}
}
@@ -1326,7 +1326,7 @@ IceSSL::SecureTransportEngine::newContext(bool incoming)
if((err = SSLSetProtocolVersionMin(ssl, _protocolVersionMin)))
{
throw SecurityException(__FILE__, __LINE__,
- "IceSSL: error while set SSL protocol version min:\n" + errorToString(err));
+ "IceSSL: error while setting SSL protocol version min:\n" + errorToString(err));
}
}