aboutsummaryrefslogtreecommitdiffstats
path: root/checks/genkey1024.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/genkey1024.test')
-rwxr-xr-xchecks/genkey1024.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/checks/genkey1024.test b/checks/genkey1024.test
index e9852d7b6..48d02da32 100755
--- a/checks/genkey1024.test
+++ b/checks/genkey1024.test
@@ -13,6 +13,10 @@ Name-Email: hh@@ddorf.de
Expire-Date: 1
Passphrase: abc
%commit
+EOF
+
+if have_pubkey_algo "RSA"; then
+../g10/gpg --quiet --batch --quick-random --homedir . --gen-key <<EOF
Key-Type: RSA
Key-Length: 1024
Key-Usage: sign,encrypt
@@ -23,4 +27,4 @@ Expire-Date: 2
Passphrase: abc
%commit
EOF
-
+fi