diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/handshake_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/handshake_helper.c b/test/handshake_helper.c index 1742004b5b..347f6b49ed 100644 --- a/test/handshake_helper.c +++ b/test/handshake_helper.c @@ -637,7 +637,8 @@ static int configure_handshake_ctx(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, } if (extra->client.alpn_protocols != NULL) { unsigned char *alpn_protos = NULL; - size_t alpn_protos_len; + size_t alpn_protos_len = 0; + if (!TEST_true(parse_protos(extra->client.alpn_protocols, &alpn_protos, &alpn_protos_len)) /* Reversed return value convention... */ |