aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/net
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-08-29 12:11:41 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2022-08-29 12:11:41 +0000
commita19652cae9796fed4ae0ac6926910c80a1ec4395 (patch)
tree1c3a8f6bdc414f91a8fadb112f4fa0d6fcca9cbe /vespalib/src/tests/net
parentacbcc3b21c245446897b439637696155068e1d69 (diff)
Unify to_string for PeerCredentials to match other types
Diffstat (limited to 'vespalib/src/tests/net')
-rw-r--r--vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp4
1 files changed, 2 insertions, 2 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 3d19c335c19..0178443643e 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
@@ -622,8 +622,8 @@ TEST_F("Peer credentials are propagated to CryptoCodec", CertFixture) {
auto& client_creds = f.server->peer_credentials();
auto& server_creds = f.client->peer_credentials();
- fprintf(stderr, "Client credentials (observed by server): %s\n", to_string(client_creds).c_str());
- fprintf(stderr, "Server credentials (observed by client): %s\n", to_string(server_creds).c_str());
+ fprintf(stderr, "Client credentials (observed by server): %s\n", client_creds.to_string().c_str());
+ fprintf(stderr, "Server credentials (observed by client): %s\n", server_creds.to_string().c_str());
EXPECT_EQUAL("rockets.wile.example.com", client_creds.common_name);
ASSERT_EQUAL(2u, client_creds.dns_sans.size());