Index: net/url_request/url_request.cc |
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc |
index 8351029509a28d65adb2290377b542281c8afed5..f84fca48064eea65ad733b1bd9ef0d89f229f2c0 100644 |
--- a/net/url_request/url_request.cc |
+++ b/net/url_request/url_request.cc |
@@ -157,7 +157,7 @@ void URLRequest::Delegate::OnAuthRequired(URLRequest* request, |
void URLRequest::Delegate::OnCertificateRequested( |
URLRequest* request, |
SSLCertRequestInfo* cert_request_info) { |
- request->Cancel(); |
+ request->CancelWithError(ERR_SSL_CLIENT_AUTH_CERT_NEEDED); |
} |
void URLRequest::Delegate::OnSSLCertificateError(URLRequest* request, |