summaryrefslogtreecommitdiff
path: root/tests/trantest.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-11-27 11:24:22 -0800
committerGarrett D'Amore <garrett@damore.org>2017-11-27 11:24:22 -0800
commit8a72e00a6020db9ab93c68c80841757ce445ef9f (patch)
tree5a1044fed5dc84c598e1041f2c4acdc434e5e64b /tests/trantest.h
parente00f01ef1e6d29817156649a3a0324df90650242 (diff)
downloadnng-8a72e00a6020db9ab93c68c80841757ce445ef9f.tar.gz
nng-8a72e00a6020db9ab93c68c80841757ce445ef9f.tar.bz2
nng-8a72e00a6020db9ab93c68c80841757ce445ef9f.zip
fixes #160 Convert TLS url from tls:// to tls+tcp://
Diffstat (limited to 'tests/trantest.h')
-rw-r--r--tests/trantest.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/trantest.h b/tests/trantest.h
index 21a9c893..4f6dfe7f 100644
--- a/tests/trantest.h
+++ b/tests/trantest.h
@@ -1,6 +1,7 @@
//
// Copyright 2017 Garrett D'Amore <garrett@damore.org>
// Copyright 2017 Capitar IT Group BV <info@capitar.com>
+// Copyright 2017 Staysail Systems, Inc. <info@staysail.tech>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -85,7 +86,7 @@ trantest_checktran(const char *url)
CHKTRAN(url, "tcp:");
#endif
#ifndef NNG_HAVE_TLS
- CHKTRAN(url, "tls:");
+ CHKTRAN(url, "tls+tcp:");
#endif
(void) url;