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

Unified Diff: tests/gen_test_keys.sh

Issue 2845001: Rework the vboot_reference make system. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Rework the vboot_reference make system. Created 10 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
« no previous file with comments | « tests/common.sh ('k') | tests/run_cgpt_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gen_test_keys.sh
diff --git a/tests/gen_test_keys.sh b/tests/gen_test_keys.sh
index bb39fb281ffbdc6d77e97946fd58530bdf9ca3d9..edc3d204af4677da59a7a8b2e052f11e5edea084 100755
--- a/tests/gen_test_keys.sh
+++ b/tests/gen_test_keys.sh
@@ -13,6 +13,9 @@
function generate_keys {
for i in ${key_lengths[@]}
do
+ if [ -f ${TESTKEY_DIR}/key_rsa$i.keyb ]; then
+ continue
+ fi
openssl genrsa -F4 -out ${TESTKEY_DIR}/key_rsa$i.pem $i
# Generate self-signed certificate from key.
openssl req -batch -new -x509 -key ${TESTKEY_DIR}/key_rsa$i.pem \
« no previous file with comments | « tests/common.sh ('k') | tests/run_cgpt_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698