Index: base/crypto/signature_creator_unittest.cc |
diff --git a/base/crypto/signature_creator_unittest.cc b/base/crypto/signature_creator_unittest.cc |
index 71aaba1fd532ca02c0cfa757b9bf1c2158d48eee..11959cb9c48d297b9bb1c3a270513297bc70b0ac 100644 |
--- a/base/crypto/signature_creator_unittest.cc |
+++ b/base/crypto/signature_creator_unittest.cc |
@@ -19,6 +19,7 @@ TEST(SignatureCreatorTest, BasicTest) { |
key_original->ExportPrivateKey(&key_info); |
scoped_ptr<base::RSAPrivateKey> key( |
base::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); |
+ ASSERT_TRUE(key.get()); |
scoped_ptr<base::SignatureCreator> signer( |
base::SignatureCreator::Create(key.get())); |