diff options
| author | 2017-01-12 16:08:49 +0000 | |
|---|---|---|
| committer | 2017-01-12 16:08:49 +0000 | |
| commit | 11756bf8c6f59bfb63f831c93b11fcf394885337 (patch) | |
| tree | aed23559a933a0d3a6214d131fdfe257e8ea6ad1 /lib/libtls/tls_client.c | |
| parent | If tls_get_new_cb_bio() fails, an error will already be set. (diff) | |
| download | wireguard-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
