tls: workaround handshakedone in renegotiation
authorShigeki Ohtsu <ohtsu@ohtsu.org>
Wed, 12 Sep 2018 08:34:24 +0000 (17:34 +0900)
committerJérémy Lal <kapouer@melix.org>
Mon, 8 Apr 2019 13:06:40 +0000 (14:06 +0100)
commitc02f74a9447305a7ca404af4cc9e74e5b3cdcedd
tree2313cc889ad0a870524aa4ce8b25ee1af131a5a6
parent379ae6e5be08f94f0a5fd1b22e84536de42a50f8
tls: workaround handshakedone in renegotiation

`SSL_CB_HANDSHAKE_START` and `SSL_CB_HANDSHAKE_DONE` are called
sending HelloRequest in OpenSSL-1.1.1.
We need to check whether this is in a renegotiation state or not.

Gbp-Pq: Topic ssl
Gbp-Pq: Name 8fad350619e8cccb9f43f4d56f4ca743f5d069c2.patch
src/tls_wrap.cc