summaryrefslogtreecommitdiffstats
path: root/lib/libtls/tls_client.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-01-12 16:08:49 +0000
committerjsing <jsing@openbsd.org>2017-01-12 16:08:49 +0000
commit11756bf8c6f59bfb63f831c93b11fcf394885337 (patch)
treeaed23559a933a0d3a6214d131fdfe257e8ea6ad1 /lib/libtls/tls_client.c
parentIf tls_get_new_cb_bio() fails, an error will already be set. (diff)
downloadwireguard-openbsd-11756bf8c6f59bfb63f831c93b11fcf394885337.tar.xz
wireguard-openbsd-11756bf8c6f59bfb63f831c93b11fcf394885337.zip
Simplify the TLS callback BIO code - a pointer to the tls context can be
stored directly in bio->ptr, rather than allocating and deallocating an intermediate struct. Diff from Marko Kreen <markokr at gmail dot com> - thanks!
Diffstat (limited to 'lib/libtls/tls_client.c')
0 files changed, 0 insertions, 0 deletions