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>
Thu, 28 Feb 2019 14:52:30 +0000 (14:52 +0000)
commit09975e633e337ac70ae5e58f6e5615f84790ef1b
tree9d411130f17b7a9360dbcc95b01f16a362069fc0
parent0653d328d3dc09ff43148fc25eeefb71b428aaf5
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