aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@verizonmedia.com>2019-07-17 11:37:34 +0200
committerGitHub <noreply@github.com>2019-07-17 11:37:34 +0200
commit699e131da5837c5774a2ccef24b4ce98d6887e7e (patch)
treed5145e2a70ae5daf6816c99c4f09fc4245b4af42 /vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
parentc183d42c7255bab7c9d05d5a87bcbd4646761c32 (diff)
parent3ddc807a4961a56e27e46127b14c73a36260d4b2 (diff)
Merge pull request #10049 from vespa-engine/vekterli/add-peer-address-logging-for-tls-errors
Add peer address logging for TLS errors
Diffstat (limited to 'vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp')
-rw-r--r--vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp b/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
index 8ee10deead1..78838ce2cd2 100644
--- a/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
+++ b/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
@@ -97,7 +97,7 @@ struct Fixture {
static std::unique_ptr<CryptoCodec> create_openssl_codec(
const std::shared_ptr<TlsContext>& ctx, CryptoCodec::Mode mode) {
auto ctx_impl = std::dynamic_pointer_cast<impl::OpenSslTlsContextImpl>(ctx);
- return std::make_unique<impl::OpenSslCryptoCodecImpl>(std::move(ctx_impl), mode);
+ return std::make_unique<impl::OpenSslCryptoCodecImpl>(std::move(ctx_impl), SocketAddress(), mode);
}
EncodeResult do_encode(CryptoCodec& codec, Output& buffer, vespalib::stringref plaintext) {