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>
Fri, 25 Jan 2019 12:51:37 +0000 (12:51 +0000)
commit128c3eb0e7780a73854705b038613af7aca1aabb
tree29943ff1b8605fc752689419a119e96399f528d1
parentf3d6d3c4caaf0733846784ce930849cdb54cc569
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 8ceb260cc3e06a1ec43df9dbc63a3eb341b4559e.patch
src/tls_wrap.cc