diff options
author | Julian Andres Klode <jak@debian.org> | 2017-07-03 14:33:15 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-07-03 15:06:26 +0200 |
commit | f3b9e58cc5e6878daff9cf127bd00587d1f715d3 (patch) | |
tree | 571a6f3945a399844272941778bf769df047e62f /methods/rfc2553emu.cc | |
parent | 55673e5476f86ffae8969bfc3a47237f3eeb7720 (diff) |
Swap file descriptors before the handshake
This makes more sense. If the handshake failed midway, we still
should run the gnutls bye stuff. The thinking here is to only
set the fd after the session setup, as we do not modify it
before, so if it fails in session setup, you retain a usable
file descriptor.
Gbp-Dch: ignore
Diffstat (limited to 'methods/rfc2553emu.cc')
0 files changed, 0 insertions, 0 deletions