Index: net/cert/x509_util.cc |
diff --git a/net/cert/x509_util.cc b/net/cert/x509_util.cc |
index d74340eaf6fcb64aeae067d277adbe402f7d5ee9..2fb3f542c338ceb152327cffc7fcd35d08663753 100644 |
--- a/net/cert/x509_util.cc |
+++ b/net/cert/x509_util.cc |
@@ -55,29 +55,6 @@ bool ClientCertSorter::operator()( |
return a_intermediates.size() < b_intermediates.size(); |
} |
-bool CreateKeyAndChannelIDEC(const std::string& domain, |
- uint32 serial_number, |
- base::Time not_valid_before, |
- base::Time not_valid_after, |
- scoped_ptr<crypto::ECPrivateKey>* key, |
- std::string* der_cert) { |
- scoped_ptr<crypto::ECPrivateKey> new_key(crypto::ECPrivateKey::Create()); |
- if (!new_key.get()) |
- return false; |
- |
- bool success = CreateChannelIDEC(new_key.get(), |
- kSignatureDigestAlgorithm, |
- domain, |
- serial_number, |
- not_valid_before, |
- not_valid_after, |
- der_cert); |
- if (success) |
- key->reset(new_key.release()); |
- |
- return success; |
-} |
- |
bool CreateKeyAndSelfSignedCert(const std::string& subject, |
uint32 serial_number, |
base::Time not_valid_before, |