Klaus Demo nginx / 8da1fa9
low some SSL handshake errors level Igor Sysoev 14 years ago
1 changed file(s) with 11 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
11541154 n = ERR_GET_REASON(ERR_peek_error());
11551155
11561156 /* handshake failures */
1157 if (n == SSL_R_NO_SHARED_CIPHER
1157 if (n == SSL_R_DIGEST_CHECK_FAILED
1158 || n == SSL_R_NO_SHARED_CIPHER
11581159 || n == SSL_R_UNEXPECTED_MESSAGE
11591160 || n == SSL_R_WRONG_VERSION_NUMBER
1161 || n == SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
11601162 || n == 1000 /* SSL_R_SSLV3_ALERT_CLOSE_NOTIFY */
1163 || n == SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE
1164 || n == SSL_R_SSLV3_ALERT_BAD_RECORD_MAC
1165 || n == SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE
1166 || n == SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE
1167 || n == SSL_R_SSLV3_ALERT_BAD_CERTIFICATE
1168 || n == SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE
1169 || n == SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED
11611170 || n == SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED
1171 || n == SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN
11621172 || n == SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER
11631173 || n == SSL_R_TLSV1_ALERT_UNKNOWN_CA)
11641174 {