summaryrefslogtreecommitdiff
path: root/regress/lib/libtls/tls
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2018-03-19 16:36:13 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2018-03-19 16:36:13 +0000
commit9bfbe1062991143986b9dc6fcf7028b592c3441b (patch)
tree747e5bbb41784548f14e14c0983f0211312b7e8b /regress/lib/libtls/tls
parente4584fce152f4b3efdb4ca4c3700b069e0cfefbf (diff)
Remove the now unnecessary tls_init() call.
Diffstat (limited to 'regress/lib/libtls/tls')
-rw-r--r--regress/lib/libtls/tls/tlstest.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/regress/lib/libtls/tls/tlstest.c b/regress/lib/libtls/tls/tlstest.c
index fcc40262c32..8a4d5dbb38c 100644
--- a/regress/lib/libtls/tls/tlstest.c
+++ b/regress/lib/libtls/tls/tlstest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tlstest.c,v 1.9 2017/05/07 03:25:26 jsing Exp $ */
+/* $OpenBSD: tlstest.c,v 1.10 2018/03/19 16:36:12 jsing Exp $ */
/*
* Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
*
@@ -443,9 +443,6 @@ main(int argc, char **argv)
certfile = argv[2];
keyfile = argv[3];
- if (tls_init() == -1)
- errx(1, "failed to initialise tls");
-
failure |= do_tls_tests();
failure |= do_tls_ordering_tests();