summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2018-03-19 16:36:12 +0000
committerjsing <>2018-03-19 16:36:12 +0000
commit7404a498429b2296b52ce77d887b7040276e03a3 (patch)
tree599c8062487ad124ec62cd08562fd78914e07d2f /src
parentf566f10d0a6fbd6482404feeba9b026ce7fc1e86 (diff)
downloadopenbsd-7404a498429b2296b52ce77d887b7040276e03a3.tar.gz
openbsd-7404a498429b2296b52ce77d887b7040276e03a3.tar.bz2
openbsd-7404a498429b2296b52ce77d887b7040276e03a3.zip
Remove the now unnecessary tls_init() call.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libtls/tls/tlstest.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/regress/lib/libtls/tls/tlstest.c b/src/regress/lib/libtls/tls/tlstest.c
index fcc40262c3..8a4d5dbb38 100644
--- a/src/regress/lib/libtls/tls/tlstest.c
+++ b/src/regress/lib/libtls/tls/tlstest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tlstest.c,v 1.9 2017/05/07 03:25:26 jsing Exp $ */ 1/* $OpenBSD: tlstest.c,v 1.10 2018/03/19 16:36:12 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -443,9 +443,6 @@ main(int argc, char **argv)
443 certfile = argv[2]; 443 certfile = argv[2];
444 keyfile = argv[3]; 444 keyfile = argv[3];
445 445
446 if (tls_init() == -1)
447 errx(1, "failed to initialise tls");
448
449 failure |= do_tls_tests(); 446 failure |= do_tls_tests();
450 failure |= do_tls_ordering_tests(); 447 failure |= do_tls_ordering_tests();
451 448