Chromium Code Reviews| Index: net/base/ssl_info.cc |
| =================================================================== |
| --- net/base/ssl_info.cc (revision 151057) |
| +++ net/base/ssl_info.cc (working copy) |
| @@ -30,6 +30,7 @@ |
| channel_id_sent = info.channel_id_sent; |
| handshake_type = info.handshake_type; |
| public_key_hashes = info.public_key_hashes; |
| + |
| return *this; |
| } |
| @@ -42,7 +43,13 @@ |
| client_cert_sent = false; |
| channel_id_sent = false; |
| handshake_type = HANDSHAKE_UNKNOWN; |
| + |
| public_key_hashes.clear(); |
| + public_key_hashes.reserve(HASH_VALUE_TAGS_COUNT); |
|
Ryan Sleevi
2012/08/11 01:39:55
public_key_hashes.clear();
public_key_hashes.resiz
palmer
2012/08/14 19:40:42
Done.
|
| + HashValueVector sha1s; |
| + public_key_hashes.push_back(sha1s); |
| + HashValueVector sha256s; |
| + public_key_hashes.push_back(sha256s); |
| } |
| void SSLInfo::SetCertError(int error) { |