Klaus Demo nginx / 5969588
Decrease of log level of some SSL handshake errors. Igor Sysoev 10 years ago
1 changed file(s) with 19 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
13511351 n = ERR_GET_REASON(ERR_peek_error());
13521352
13531353 /* handshake failures */
1354 if (n == SSL_R_BLOCK_CIPHER_PAD_IS_WRONG /* 129 */
1354 if (n == SSL_R_BAD_CHANGE_CIPHER_SPEC /* 103 */
1355 || n == SSL_R_BLOCK_CIPHER_PAD_IS_WRONG /* 129 */
13551356 || n == SSL_R_DIGEST_CHECK_FAILED /* 149 */
1357 || n == SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST /* 151 */
1358 || n == SSL_R_EXCESSIVE_MESSAGE_SIZE /* 152 */
13561359 || n == SSL_R_LENGTH_MISMATCH /* 159 */
13571360 || n == SSL_R_NO_CIPHERS_PASSED /* 182 */
13581361 || n == SSL_R_NO_CIPHERS_SPECIFIED /* 183 */
1362 || n == SSL_R_NO_COMPRESSION_SPECIFIED /* 187 */
13591363 || n == SSL_R_NO_SHARED_CIPHER /* 193 */
13601364 || n == SSL_R_RECORD_LENGTH_MISMATCH /* 213 */
1365 #ifdef SSL_R_PARSE_TLSEXT
1366 || n == SSL_R_PARSE_TLSEXT /* 227 */
1367 #endif
13611368 || n == SSL_R_UNEXPECTED_MESSAGE /* 244 */
13621369 || n == SSL_R_UNEXPECTED_RECORD /* 245 */
13631370 || n == SSL_R_UNKNOWN_ALERT_TYPE /* 246 */
13641371 || n == SSL_R_UNKNOWN_PROTOCOL /* 252 */
13651372 || n == SSL_R_WRONG_VERSION_NUMBER /* 267 */
13661373 || n == SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC /* 281 */
1374 #ifdef SSL_R_RENEGOTIATE_EXT_TOO_LONG
1375 || n == SSL_R_RENEGOTIATE_EXT_TOO_LONG /* 335 */
1376 || n == SSL_R_RENEGOTIATION_ENCODING_ERR /* 336 */
1377 || n == SSL_R_RENEGOTIATION_MISMATCH /* 337 */
1378 #endif
1379 #ifdef SSL_R_UNSAFE_LEGACY_RENEGOTIATION_DISABLED
1380 || n == SSL_R_UNSAFE_LEGACY_RENEGOTIATION_DISABLED /* 338 */
1381 #endif
1382 #ifdef SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING
1383 || n == SSL_R_SCSV_RECEIVED_WHEN_RENEGOTIATING /* 345 */
1384 #endif
13671385 || n == 1000 /* SSL_R_SSLV3_ALERT_CLOSE_NOTIFY */
13681386 || n == SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE /* 1010 */
13691387 || n == SSL_R_SSLV3_ALERT_BAD_RECORD_MAC /* 1020 */