summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_oaep.c
diff options
context:
space:
mode:
authorbeck <>2019-10-17 14:29:24 +0000
committerbeck <>2019-10-17 14:29:24 +0000
commitf94e8cb1dd847cd2efa0211e711707fc705f11eb (patch)
treed8e00c33ebebf863ba58ad8bb0da909a856c882b /src/lib/libcrypto/rsa/rsa_oaep.c
parentfd5ddb2c2c8843a96f8b820d67e8fdd3652584f2 (diff)
downloadopenbsd-f94e8cb1dd847cd2efa0211e711707fc705f11eb.tar.gz
openbsd-f94e8cb1dd847cd2efa0211e711707fc705f11eb.tar.bz2
openbsd-f94e8cb1dd847cd2efa0211e711707fc705f11eb.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_oaep.c')
0 files changed, 0 insertions, 0 deletions