* keygen.c (keygen_get_std_prefs): Set reference count when creating the
[gnupg.git] / checks / genkey1024.test
index e9852d7..48d02da 100755 (executable)
@@ -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