summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2018-03-19 16:36:12 +0000
committerjsing <jsing@openbsd.org>2018-03-19 16:36:12 +0000
commitcbdc86592e458d3b4bdf4c2a27f43419e87a4bee (patch)
tree342ab0f3af6f1f3824c89a059e7ac0dd42cf6fbe
parentRemove the tls_init() call, since it is no longer necessary. (diff)
downloadwireguard-openbsd-cbdc86592e458d3b4bdf4c2a27f43419e87a4bee.tar.xz
wireguard-openbsd-cbdc86592e458d3b4bdf4c2a27f43419e87a4bee.zip
Remove the now unnecessary tls_init() call.
-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();