diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-03-24 00:08:08 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-03-24 00:08:08 +0000 |
commit | 8adad8d4286c63735ef6bdd6a35c1f43a2f5b975 (patch) | |
tree | 6bc7f117c631b6ca8c78e82e33f7f3c8ead9b756 /cpp/src/Ice/SslConnectionOpenSSLServer.cpp | |
parent | Updated to contain better verification directives. (diff) | |
download | ice-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.cpp | 4 |
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__); |