Index: net/spdy/spdy_test_util_spdy3.cc |
diff --git a/net/spdy/spdy_test_util_spdy3.cc b/net/spdy/spdy_test_util_spdy3.cc |
index cffd9eb8906c886757340779832ade1deda78110..7c19c862313e40da9340ef018d962c55b7cd8970 100644 |
--- a/net/spdy/spdy_test_util_spdy3.cc |
+++ b/net/spdy/spdy_test_util_spdy3.cc |
@@ -63,6 +63,13 @@ class MockECSignatureCreator : public crypto::ECSignatureCreator { |
return true; |
} |
+ virtual bool DecodeSignature(const std::vector<uint8>& signature, |
+ std::string* out_raw_sig) { |
+ out_raw_sig->assign(reinterpret_cast<const char*>(signature.data()), |
+ signature.size()); |
+ return true; |
+ } |
+ |
private: |
crypto::ECPrivateKey* key_; |