Skip to content

Commit 665e5e3

Browse files
trondndaverigby
authored andcommitted
MB-42468: Fix unit test failure after moving to openssl 1.1.1b
memcached tries to disconnect the client with: SSL_accept() returned -1 with error 1: error:1417C0C7:SSL routines:tls_process_client_certificate:peer did not return a certificate But for some reason we don't detect an error in BIO_do_handshake like we did before. We do however detect the problem the next time we try to send a command. Change-Id: I0ee5698fbe02b410fcdced86387a6bfdeafeacb2 Reviewed-on: http://review.couchbase.org/c/kv_engine/+/139466 Well-Formed: Build Bot <[email protected]> Reviewed-by: Trond Norbye <[email protected]> Tested-by: Build Bot <[email protected]>
1 parent f193405 commit 665e5e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testapp/testapp_cert_tests.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ TEST_F(SslCertTest, LoginWhenMandatoryWithoutCert) {
158158
MemcachedConnection connection("127.0.0.1", ssl_port, AF_INET, true);
159159
try {
160160
connection.connect();
161+
connection.hello("LoginWhenMandatoryWithoutCert", "1.0", "");
161162
FAIL() << "It should not be possible to connect without certificate";
162163
} catch (const std::exception&) {
163164
}

0 commit comments

Comments
 (0)