diff options
| author | Michael Brown | 2019-08-16 23:40:19 +0200 |
|---|---|---|
| committer | Michael Brown | 2019-08-16 23:51:14 +0200 |
| commit | fd96acb7de27241892d38efd55dffd26ef79cf2a (patch) | |
| tree | ba826493c75e88ad1a7a633c4807788db5907f13 /src/crypto | |
| parent | [peerdist] Limit number of concurrent raw block downloads (diff) | |
| download | ipxe-fd96acb7de27241892d38efd55dffd26ef79cf2a.tar.gz ipxe-fd96acb7de27241892d38efd55dffd26ef79cf2a.tar.xz ipxe-fd96acb7de27241892d38efd55dffd26ef79cf2a.zip | |
[tls] Add missing call to tls_tx_resume() when restarting negotiation
The restart of negotiation triggered by a HelloRequest currently does
not call tls_tx_resume() and so may end up leaving the connection in
an idle state in which the pending ClientHello is never sent.
Fix by calling tls_tx_resume() as part of tls_restart(), since the
call to tls_tx_resume() logically belongs alongside the code that sets
bits in tls->tx_pending.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto')
0 files changed, 0 insertions, 0 deletions
