summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_openssl.cc
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-25 01:28:45 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-25 01:28:45 +0000
commit6b54689df1780e0a07b10130274ae0a84d4fa8ba (patch)
treebfa062911a66632db793b3aa9ff9f4afa7137621 /net/socket/ssl_client_socket_openssl.cc
parent23e4309d1bb2912977e3911756580eaaa4005f4d (diff)
downloadchromium_src-6b54689df1780e0a07b10130274ae0a84d4fa8ba.zip
chromium_src-6b54689df1780e0a07b10130274ae0a84d4fa8ba.tar.gz
chromium_src-6b54689df1780e0a07b10130274ae0a84d4fa8ba.tar.bz2
Set SSLInfo.client_cert_sent when origin bound cert was sent.
BUG=115376 TEST=none Review URL: http://codereview.chromium.org/9454025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123620 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_openssl.cc')
-rw-r--r--net/socket/ssl_client_socket_openssl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc
index 5039487..fcdb644 100644
--- a/net/socket/ssl_client_socket_openssl.cc
+++ b/net/socket/ssl_client_socket_openssl.cc
@@ -587,8 +587,8 @@ void SSLClientSocketOpenSSL::GetSSLInfo(SSLInfo* ssl_info) {
server_cert_verify_result_.is_issued_by_known_root;
ssl_info->public_key_hashes =
server_cert_verify_result_.public_key_hashes;
- ssl_info->client_cert_sent =
- ssl_config_.send_client_cert && ssl_config_.client_cert;
+ ssl_info->client_cert_sent = WasOriginBoundCertSent() ||
+ (ssl_config_.send_client_cert && ssl_config_.client_cert);
const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl_);
CHECK(cipher);