]> git.kaiwu.me - nginx.git/commit
SSL: logging levels of "unsupported protocol", "version too low".
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 16 Jul 2018 14:47:18 +0000 (17:47 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 16 Jul 2018 14:47:18 +0000 (17:47 +0300)
commitb1734fd800ec612f539f9c1699665d0685c2f9e8
tree0386cb0abacc2c71c6acf2eaa7db180f06d40e4c
parent85b44b46fb851fc933e3c053ab2c45e5b92f85c9
SSL: logging levels of "unsupported protocol", "version too low".

Starting with OpenSSL 1.1.0, SSL_R_UNSUPPORTED_PROTOCOL instead of
SSL_R_UNKNOWN_PROTOCOL is reported when a protocol is disabled via
an SSL_OP_NO_* option.

Additionally, SSL_R_VERSION_TOO_LOW is reported when using MinProtocol
or when seclevel checks (as set by @SECLEVEL=n in the cipher string)
rejects a protocol, and this is what happens with SSLv3 and @SECLEVEL=1,
which is the default.

There is also the SSL_R_VERSION_TOO_HIGH error code, but it looks like
it is not possible to trigger it.
src/event/ngx_event_openssl.c