summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SslConnectionOpenSSLServer.cpp
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2002-03-24 00:08:08 +0000
committerAnthony Neal <aneal@zeroc.com>2002-03-24 00:08:08 +0000
commit8adad8d4286c63735ef6bdd6a35c1f43a2f5b975 (patch)
tree6bc7f117c631b6ca8c78e82e33f7f3c8ead9b756 /cpp/src/Ice/SslConnectionOpenSSLServer.cpp
parentUpdated to contain better verification directives. (diff)
downloadice-8adad8d4286c63735ef6bdd6a35c1f43a2f5b975.tar.bz2
ice-8adad8d4286c63735ef6bdd6a35c1f43a2f5b975.tar.xz
ice-8adad8d4286c63735ef6bdd6a35c1f43a2f5b975.zip
Fixed bugs while developing tests for IceSSL
Diffstat (limited to 'cpp/src/Ice/SslConnectionOpenSSLServer.cpp')
-rw-r--r--cpp/src/Ice/SslConnectionOpenSSLServer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/SslConnectionOpenSSLServer.cpp b/cpp/src/Ice/SslConnectionOpenSSLServer.cpp
index 40e0758165e..550535108ef 100644
--- a/cpp/src/Ice/SslConnectionOpenSSLServer.cpp
+++ b/cpp/src/Ice/SslConnectionOpenSSLServer.cpp
@@ -115,9 +115,9 @@ IceSSL::OpenSSL::ServerConnection::init(int timeout)
if ((result <= 0) && (BIO_sock_should_retry(result) == 0))
{
// Socket can't retry - bad scene, find out why.
- long verify_error = SSL_get_verify_result(_sslConnection);
+ long verifyError = SSL_get_verify_result(_sslConnection);
- if (verify_error != X509_V_OK)
+ if (verifyError != X509_V_OK)
{
CertificateVerificationException certVerEx(__FILE__, __LINE__);