Index: components/client_update_protocol/ecdsa.cc |
diff --git a/components/client_update_protocol/ecdsa.cc b/components/client_update_protocol/ecdsa.cc |
index 71547936a35cc19790a291e713a147d90dd29b73..dc41a73b5093334a2819075e5bf75ea4d9ef103e 100644 |
--- a/components/client_update_protocol/ecdsa.cc |
+++ b/components/client_update_protocol/ecdsa.cc |
@@ -98,13 +98,9 @@ |
return base::WrapUnique(new Ecdsa(key_version, public_key)); |
} |
-void Ecdsa::OverrideNonceForTesting(int key_version, uint32_t nonce) { |
- DCHECK(!request_query_cup2key_.empty()); |
- request_query_cup2key_ = base::StringPrintf("%d:%u", pub_key_version_, nonce); |
-} |
- |
void Ecdsa::SignRequest(const base::StringPiece& request_body, |
std::string* query_params) { |
+ DCHECK(!request_body.empty()); |
DCHECK(query_params); |
// Generate a random nonce to use for freshness, build the cup2key query |