diff options
author | jsing <> | 2018-03-19 16:36:12 +0000 |
---|---|---|
committer | jsing <> | 2018-03-19 16:36:12 +0000 |
commit | e72d58016e25175312973db74ef742b9d2e9c5e1 (patch) | |
tree | 599c8062487ad124ec62cd08562fd78914e07d2f /src | |
parent | 8c6dfc2988720b36cc1a8500c7f7693b2f9fff3e (diff) | |
download | openbsd-e72d58016e25175312973db74ef742b9d2e9c5e1.tar.gz openbsd-e72d58016e25175312973db74ef742b9d2e9c5e1.tar.bz2 openbsd-e72d58016e25175312973db74ef742b9d2e9c5e1.zip |
Remove the now unnecessary tls_init() call.
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libtls/tls/tlstest.c | 5 |
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 | ||