From: Stephan Bosch Date: Fri, 16 Apr 2021 16:18:07 +0000 (+0200) Subject: lib-ssl-iostream: test-iostream-ssl - Properly mark client endpoints. X-Git-Tag: 2.3.18~282 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2816a2525b9568376b19c24cfdea8aa05001c561;p=thirdparty%2Fdovecot%2Fcore.git lib-ssl-iostream: test-iostream-ssl - Properly mark client endpoints. --- diff --git a/src/lib-ssl-iostream/test-iostream-ssl.c b/src/lib-ssl-iostream/test-iostream-ssl.c index 1fb1a83a3e..4dd7679d70 100644 --- a/src/lib-ssl-iostream/test-iostream-ssl.c +++ b/src/lib-ssl-iostream/test-iostream-ssl.c @@ -372,6 +372,7 @@ static void test_iostream_ssl_get_buffer_avail_size(void) ssl_iostream_test_settings_client(&set); set.allow_invalid_cert = TRUE; client = create_test_endpoint(fd[1], &set); + client->client = TRUE; client->other = server; server->other = client; @@ -455,6 +456,7 @@ static void test_iostream_ssl_small_packets(void) ssl_iostream_test_settings_client(&set); set.allow_invalid_cert = TRUE; client = create_test_endpoint(fd[1], &set); + client->client = TRUE; test_assert(ssl_iostream_context_init_server(server->set, &server->ctx, &error) == 0);