summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 19:07:27 +0000
committerpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 19:07:27 +0000
commit5db1ae621ac7a1ab4fc19ca8bde53282561f88a0 (patch)
tree74dfb05d7d63fa5123b2a732dd1ce3d1029b988c /net
parentf44265b0b203289b76b7d28b46bbfed1708829ea (diff)
downloadchromium_src-5db1ae621ac7a1ab4fc19ca8bde53282561f88a0.zip
chromium_src-5db1ae621ac7a1ab4fc19ca8bde53282561f88a0.tar.gz
chromium_src-5db1ae621ac7a1ab4fc19ca8bde53282561f88a0.tar.bz2
Remove an incorrect DCHECK.
Neither the nss or Windows GetSSLInfo methods check this condition, which can be called in error situations. Review URL: http://codereview.chromium.org/113559 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16397 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/ssl_client_socket_mac.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/base/ssl_client_socket_mac.cc b/net/base/ssl_client_socket_mac.cc
index 298a1a7..2d68771 100644
--- a/net/base/ssl_client_socket_mac.cc
+++ b/net/base/ssl_client_socket_mac.cc
@@ -390,14 +390,11 @@ int SSLClientSocketMac::Write(IOBuffer* buf, int buf_len,
}
void SSLClientSocketMac::GetSSLInfo(SSLInfo* ssl_info) {
- DCHECK(completed_handshake_);
- OSStatus status;
-
ssl_info->Reset();
// set cert
CFArrayRef certs;
- status = SSLCopyPeerCertificates(ssl_context_, &certs);
+ OSStatus status = SSLCopyPeerCertificates(ssl_context_, &certs);
if (!status) {
DCHECK(CFArrayGetCount(certs) > 0);