Mercurial > hg > nginx-vendor-1-0
comparison src/event/ngx_event_openssl.c @ 370:9a242235a80a NGINX_0_6_29
nginx 0.6.29
*) Feature: the ngx_google_perftools_module.
*) Bugfix: the ngx_http_perl_module could be not built on 64-bit
platforms; bug appeared in 0.6.27.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 18 Mar 2008 00:00:00 +0300 |
parents | babd3d9efb62 |
children | 6639b93e81b2 |
comparison
equal
deleted
inserted
replaced
369:5906b8639a07 | 370:9a242235a80a |
---|---|
1153 } else if (sslerr == SSL_ERROR_SSL) { | 1153 } else if (sslerr == SSL_ERROR_SSL) { |
1154 | 1154 |
1155 n = ERR_GET_REASON(ERR_peek_error()); | 1155 n = ERR_GET_REASON(ERR_peek_error()); |
1156 | 1156 |
1157 /* handshake failures */ | 1157 /* handshake failures */ |
1158 if (n == SSL_R_NO_SHARED_CIPHER | 1158 if (n == SSL_R_DIGEST_CHECK_FAILED |
1159 || n == SSL_R_NO_SHARED_CIPHER | |
1159 || n == SSL_R_UNEXPECTED_MESSAGE | 1160 || n == SSL_R_UNEXPECTED_MESSAGE |
1160 || n == SSL_R_WRONG_VERSION_NUMBER | 1161 || n == SSL_R_WRONG_VERSION_NUMBER |
1162 || n == SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC | |
1161 || n == 1000 /* SSL_R_SSLV3_ALERT_CLOSE_NOTIFY */ | 1163 || n == 1000 /* SSL_R_SSLV3_ALERT_CLOSE_NOTIFY */ |
1164 || n == SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE | |
1165 || n == SSL_R_SSLV3_ALERT_BAD_RECORD_MAC | |
1166 || n == SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE | |
1167 || n == SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE | |
1168 || n == SSL_R_SSLV3_ALERT_BAD_CERTIFICATE | |
1169 || n == SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE | |
1170 || n == SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED | |
1162 || n == SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED | 1171 || n == SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED |
1172 || n == SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN | |
1163 || n == SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER | 1173 || n == SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER |
1164 || n == SSL_R_TLSV1_ALERT_UNKNOWN_CA) | 1174 || n == SSL_R_TLSV1_ALERT_UNKNOWN_CA) |
1165 { | 1175 { |
1166 switch (c->log_error) { | 1176 switch (c->log_error) { |
1167 | 1177 |