summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorHarveyLiu <harvey_liuhw@163.com>2020-04-23 00:45:09 +0800
committerGitHub <noreply@github.com>2020-04-22 18:45:09 +0200
commit0c5f00c3f1c684eb2000e92dbd6ea3802c380e09 (patch)
tree2c16ee31cca33dc7a0d8f347e46235b862bb86f3 /cpp/src
parentFix certificate IP Address to use 127.0.0.1 (#813) (diff)
downloadice-0c5f00c3f1c684eb2000e92dbd6ea3802c380e09.tar.bz2
ice-0c5f00c3f1c684eb2000e92dbd6ea3802c380e09.tar.xz
ice-0c5f00c3f1c684eb2000e92dbd6ea3802c380e09.zip
Fix compilation errors caused by parameters not declared in this scope (#801)
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceSSL/OpenSSLTransceiverI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/OpenSSLTransceiverI.cpp b/cpp/src/IceSSL/OpenSSLTransceiverI.cpp
index 1acd3b12800..c2593a26a2e 100644
--- a/cpp/src/IceSSL/OpenSSLTransceiverI.cpp
+++ b/cpp/src/IceSSL/OpenSSLTransceiverI.cpp
@@ -346,7 +346,7 @@ OpenSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::
// Peer hostname verification is new in OpenSSL 1.0.2 for older versions
// We use IceSSL built-in hostname verification.
//
- _engine->verifyPeerCertName(address, info);
+ _engine->verifyPeerCertName(_host, ICE_DYNAMIC_CAST(ConnectionInfo, getInfo()));
}
catch(const SecurityException&)
{