]> git.kaiwu.me - nginx.git/commit
SSL: disabled renegotiation checks with SSL_OP_NO_RENEGOTIATION.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 21 Sep 2018 17:31:32 +0000 (20:31 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 21 Sep 2018 17:31:32 +0000 (20:31 +0300)
commit61cec6f01bb9d76d617ca13531e5178199e2fe93
tree03abf3784e0ab0b0c2b220a73e6bc3e7e0b43d4b
parenta834b8aa09205922bf11c005b3c737b267be12bb
SSL: disabled renegotiation checks with SSL_OP_NO_RENEGOTIATION.

Following 7319:dcab86115261, as long as SSL_OP_NO_RENEGOTIATION is
defined, it is OpenSSL library responsibility to prevent renegotiation,
so the checks are meaningless.

Additionally, with TLSv1.3 OpenSSL tends to report SSL_CB_HANDSHAKE_START
at various unexpected moments - notably, on KeyUpdate messages and
when sending tickets.  This change prevents unexpected connection
close on KeyUpdate messages and when finishing handshake with upcoming
early data changes.
src/event/ngx_event_openssl.c