summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_methods.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2020-01-22 02:25:11 +0000
committerkrw <krw@openbsd.org>2020-01-22 02:25:11 +0000
commit3386cc01d0fe85ff08e065a02688b3dd20438bd3 (patch)
treec4779a7c7bdb90842808375d24870d5874ec4c61 /lib/libssl/ssl_methods.c
parentAdd minimal support for hello retry request for RFC conformance. (diff)
downloadwireguard-openbsd-3386cc01d0fe85ff08e065a02688b3dd20438bd3.tar.xz
wireguard-openbsd-3386cc01d0fe85ff08e065a02688b3dd20438bd3.zip
Add a zero length TD, rather than adding a zero length TRB to the
original TD, when a transfer is a multiple of the max packet size. The zero length TD will have a NULL xfer pointer. As a result "NULL xfer pointer" situations become perfectly normal. So change the log_warnx() that issues that verbiage to a log_debug(). Note that the original transfer will complete and report its result up the USB stack before the zero length transfer is executed. Fixes (at least) urtwn(4) interfaces. Feeback, cluebats, fixes and ok patrick@
Diffstat (limited to 'lib/libssl/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions