Remove manual file loading (now that libtls does this for us) and adjust
authorjsing <jsing@openbsd.org>
Wed, 6 Jul 2016 16:31:18 +0000 (16:31 +0000)
committerjsing <jsing@openbsd.org>
Wed, 6 Jul 2016 16:31:18 +0000 (16:31 +0000)
commita6d72079c2cdd0e6d802a04e0c1e09881927adb6
tree3f81c83d28f86743b91e744d98f120a566bfaaa4
parenteb740efff666faa93092920e9b6b518f4bbf2aec
Remove manual file loading (now that libtls does this for us) and adjust
pledge to match. Also use tls_config_error() to provide friendlier error
messages.
usr.bin/nc/netcat.c