summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_lib.c
diff options
context:
space:
mode:
authorbeck <>2019-10-17 14:29:24 +0000
committerbeck <>2019-10-17 14:29:24 +0000
commit4ce592fed0bd2e72e8c8fb0e2ce5995f9987495f (patch)
treed8e00c33ebebf863ba58ad8bb0da909a856c882b /src/lib/libcrypto/rsa/rsa_lib.c
parentcdb76e881734edbc82f0b1df9c49a999be1c2c97 (diff)
downloadopenbsd-4ce592fed0bd2e72e8c8fb0e2ce5995f9987495f.tar.gz
openbsd-4ce592fed0bd2e72e8c8fb0e2ce5995f9987495f.tar.bz2
openbsd-4ce592fed0bd2e72e8c8fb0e2ce5995f9987495f.zip
Fix -N flag to actually shut down the (entire) socket when the input
goes away. This allows for using nc in cases where the network server will no longer expect anything after eof, instead of hanging waiting for more input from our end. Additionaly, shut down if tls is in use if either side of the socket goes away, since we higher level TLS operations (tls_read and write) will require the socket to be both readable and writable as we can get TLS_WANT_POLLIN or TLS_WANT_POLLOUT on either operation. deraadt@ buying it. found by sthen@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_lib.c')
0 files changed, 0 insertions, 0 deletions