diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-03-19 16:35:30 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-03-19 16:35:30 +0000 |
commit | e4584fce152f4b3efdb4ca4c3700b069e0cfefbf (patch) | |
tree | ab69b01a29f1f5cd9eee4831ca73ddf3c14e9961 /usr.bin | |
parent | e5b15998b53658b5112d19489195587493931cea (diff) |
Remove the tls_init() call, since it is no longer necessary.
ok bcook@ beck@ inoguchi@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/nc/netcat.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c index 867927de69f..fcc38897cd9 100644 --- a/usr.bin/nc/netcat.c +++ b/usr.bin/nc/netcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netcat.c,v 1.189 2017/11/28 16:59:10 jsing Exp $ */ +/* $OpenBSD: netcat.c,v 1.190 2018/03/19 16:35:29 jsing Exp $ */ /* * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> * Copyright (c) 2015 Bob Beck. All rights reserved. @@ -484,8 +484,6 @@ main(int argc, char *argv[]) } if (usetls) { - if (tls_init() == -1) - errx(1, "unable to initialize TLS"); if ((tls_cfg = tls_config_new()) == NULL) errx(1, "unable to allocate TLS config"); if (Rflag && tls_config_set_ca_file(tls_cfg, Rflag) == -1) |