commit | 163bf3cc30bb771b412fde71e9e06f4458c488c3 | [log] [tgz] |
---|---|---|
author | Sergey Kandaurov <pluknet@nginx.com> | Tue Dec 08 16:59:43 2015 +0300 |
committer | Sergey Kandaurov <pluknet@nginx.com> | Tue Dec 08 16:59:43 2015 +0300 |
tree | fb93f82fc31a4ab5c623a004f63fd9edcb6ba4c7 | |
parent | 28d031ba103bed5ecceb5537abf5f1a0fe039b32 [diff] |
SSL: fixed possible segfault on renegotiation (ticket #845). Skip SSL_CTX_set_tlsext_servername_callback in case of renegotiation. Do nothing in SNI callback as in this case it will be supplied with request in c->data which isn't expected and doesn't work this way. This was broken by b40af2fd1c16 (1.9.6) with OpenSSL master branch and LibreSSL.