]> 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)
commit1ef51847ca4b9c548c68abee801e2ea8047e80a3
treed44dbf4c4453dddea5a6ad0fabf10a1f01e88609
parent34e524a130abb4e5ff549652e4a08e040b54dc57
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