Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: net/data/ssl/scripts/generate-weak-test-chains.sh

Issue 5535006: Add unittests for net::TestRootCerts and regenerate test certificates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix another hardcoded string Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/data/ssl/scripts/generate-weak-test-chains.sh
diff --git a/net/data/ssl/scripts/generate-weak-test-chains.sh b/net/data/ssl/scripts/generate-weak-test-chains.sh
index c99509f2ae35e006bf07882b2c96d4093aeabf9d..845c8ab60e3eaa2f93c8ab9b0edf2f07ba9d0030 100755
--- a/net/data/ssl/scripts/generate-weak-test-chains.sh
+++ b/net/data/ssl/scripts/generate-weak-test-chains.sh
@@ -52,7 +52,7 @@ CA_COMMON_NAME="2048 RSA Test Root CA" \
try openssl req \
-new \
-key out/2048-rsa-root.key \
--extensions ca_cert \
+ -extensions ca_cert \
-out out/2048-rsa-root.csr \
-config ca.cnf
@@ -62,7 +62,7 @@ CA_COMMON_NAME="2048 RSA Test Root CA" \
try openssl x509 \
-req -days 3650 \
-in out/2048-rsa-root.csr \
--extensions ca_cert \
+ -extensions ca_cert \
-signkey out/2048-rsa-root.key \
-out out/2048-rsa-root.pem

Powered by Google App Engine
This is Rietveld 408576698