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 \ |