From 05852bc279a6d88722cff8e8399b5d08853b9c32 Mon Sep 17 00:00:00 2001 From: Matthew Zipay Date: Wed, 29 Aug 2018 01:37:38 -0400 Subject: Issues/634 (#677) * fixes #634 for tests/tls by explicitly using IPv4 for the "Valid verify works" test --- tests/tls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tls.c b/tests/tls.c index aadc3a3f..84c939e8 100644 --- a/tests/tls.c +++ b/tests/tls.c @@ -462,14 +462,14 @@ TestMain("TLS Transport", { nng_close(s2); nng_close(s1); }); - trantest_next_address(addr, "tls+tcp://*:%u"); + trantest_next_address(addr, "tls+tcp4://*:%u"); So(nng_listener_create(&l, s1, addr) == 0); So(init_listener_tls_file(l) == 0); So(nng_listener_start(l, 0) == 0); nng_msleep(100); // reset port back one - trantest_prev_address(addr, "tls+tcp://localhost:%u"); + trantest_prev_address(addr, "tls+tcp4://localhost:%u"); So(nng_dialer_create(&d, s2, addr) == 0); So(init_dialer_tls_file(d) == 0); So(nng_setopt_ms(s2, NNG_OPT_RECVTIMEO, 200) == 0); -- cgit v1.2.3-70-g09d2