| Index: net/socket/nss_ssl_util.cc
|
| ===================================================================
|
| --- net/socket/nss_ssl_util.cc (revision 139421)
|
| +++ net/socket/nss_ssl_util.cc (working copy)
|
| @@ -179,6 +179,7 @@
|
| case SSL_ERROR_SSL_DISABLED:
|
| return ERR_NO_SSL_VERSIONS_ENABLED;
|
| case SSL_ERROR_NO_CYPHER_OVERLAP:
|
| + case SSL_ERROR_PROTOCOL_VERSION_ALERT:
|
| case SSL_ERROR_UNSUPPORTED_VERSION:
|
| return ERR_SSL_VERSION_OR_CIPHER_MISMATCH;
|
| case SSL_ERROR_HANDSHAKE_FAILURE_ALERT:
|
| @@ -219,18 +220,6 @@
|
| }
|
| }
|
|
|
| -// Context-sensitive error mapping functions.
|
| -int MapNSSHandshakeError(PRErrorCode err) {
|
| - switch (err) {
|
| - // If the server closed on us, it is a protocol error.
|
| - // Some TLS-intolerant servers do this when we request TLS.
|
| - case PR_END_OF_FILE_ERROR:
|
| - return ERR_SSL_PROTOCOL_ERROR;
|
| - default:
|
| - return MapNSSError(err);
|
| - }
|
| -}
|
| -
|
| // Extra parameters to attach to the NetLog when we receive an error in response
|
| // to a call to an NSS function. Used instead of SSLErrorParams with
|
| // events of type TYPE_SSL_NSS_ERROR. Automatically looks up last PR error.
|
|
|