summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDHNishi@gmail.com <DHNishi@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-31 07:49:16 +0000
committerDHNishi@gmail.com <DHNishi@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-31 07:49:16 +0000
commitc21b5b613128267935e2d353d206832c856c8b10 (patch)
tree09d20258b08f23da6b22fd5689feec7412146d53 /crypto
parentc6ce08078b24a4ef2b0fd86c40001ad87b9c2b8c (diff)
downloadchromium_src-c21b5b613128267935e2d353d206832c856c8b10.zip
chromium_src-c21b5b613128267935e2d353d206832c856c8b10.tar.gz
chromium_src-c21b5b613128267935e2d353d206832c856c8b10.tar.bz2
Fix a bug where packing an extension with bad private key causes crash.
BUG=263968 TEST=PackExtensionTest.ExtensionWithInvalidKey Review URL: https://chromiumcodereview.appspot.com/20794003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto')
-rw-r--r--crypto/signature_creator_nss.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/signature_creator_nss.cc b/crypto/signature_creator_nss.cc
index 6c21efe..5a9ad2e 100644
--- a/crypto/signature_creator_nss.cc
+++ b/crypto/signature_creator_nss.cc
@@ -84,7 +84,6 @@ bool SignatureCreator::Final(std::vector<uint8>* signature) {
SECItem signature_item;
SECStatus rv = SGN_End(sign_context_, &signature_item);
if (rv != SECSuccess) {
- NOTREACHED();
return false;
}
signature->assign(signature_item.data,