summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-11-17 16:38:48 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2014-11-17 16:38:48 +0300
commitde557628d3518ec016787fae7036e430ba2f4874 (patch)
tree4dc43c41b754adbf3c8358e7de2fcb9ad4eb713b
parente875df1842c901c8bf98c00299e645afdb0387e9 (diff)
downloadnginx-de557628d3518ec016787fae7036e430ba2f4874.tar.gz
nginx-de557628d3518ec016787fae7036e430ba2f4874.tar.bz2
SSL: logging level of "inappropriate fallback" (ticket #662).
Patch by Erik Dubbelboer.
-rw-r--r--src/event/ngx_event_openssl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c
index 72c255908..4b33b6733 100644
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -1614,6 +1614,9 @@ ngx_ssl_connection_error(ngx_connection_t *c, int sslerr, ngx_err_t err,
#ifdef SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING
|| n == SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING /* 345 */
#endif
+#ifdef SSL_R_INAPPROPRIATE_FALLBACK
+ || n == SSL_R_INAPPROPRIATE_FALLBACK /* 373 */
+#endif
|| n == 1000 /* SSL_R_SSLV3_ALERT_CLOSE_NOTIFY */
|| n == SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE /* 1010 */
|| n == SSL_R_SSLV3_ALERT_BAD_RECORD_MAC /* 1020 */