commit | 674b743067c652cbea6d3e45912b9c37e7ccb3e5 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@exceliance.fr> | Thu Nov 08 19:21:55 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 12 11:46:08 2012 +0100 |
tree | ed0c9feb7ad88004eb44be521ecea803d962213b | |
parent | 282a76acc17b1c23c5204addc2f7d5019cded704 [diff] |
BUG/MEDIUM: ssl: Fix sometimes reneg fails if requested by server. SSL_do_handshake is not appropriate for reneg, it's only appropriate at the beginning of a connection. OpenSSL correctly handles renegs using the data functions, so we use SSL_peek() here to make its state machine progress if SSL_renegotiate_pending() says a reneg is pending.