diff options
| author | Matthew Zipay <mattz@ninthtest.info> | 2018-08-29 01:37:38 -0400 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-08-28 22:37:38 -0700 |
| commit | 05852bc279a6d88722cff8e8399b5d08853b9c32 (patch) | |
| tree | 0f7ecbee6a5225eeb61f0c018a8cf1ab8df38873 /tests/tls.c | |
| parent | de8aca84eba4f52741fd49d1a57d1fe20a2ec7f5 (diff) | |
| download | nng-05852bc279a6d88722cff8e8399b5d08853b9c32.tar.gz nng-05852bc279a6d88722cff8e8399b5d08853b9c32.tar.bz2 nng-05852bc279a6d88722cff8e8399b5d08853b9c32.zip | |
Issues/634 (#677)
* fixes #634 for tests/tls by explicitly using IPv4 for the "Valid verify works" test
Diffstat (limited to 'tests/tls.c')
| -rw-r--r-- | tests/tls.c | 4 |
1 files 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); |
