diff options
author | HarveyLiu <harvey_liuhw@163.com> | 2020-04-23 00:45:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 18:45:09 +0200 |
commit | 0c5f00c3f1c684eb2000e92dbd6ea3802c380e09 (patch) | |
tree | 2c16ee31cca33dc7a0d8f347e46235b862bb86f3 /cpp/src | |
parent | Fix certificate IP Address to use 127.0.0.1 (#813) (diff) | |
download | ice-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.cpp | 2 |
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&) { |