diff options
author | David Shaw <dshaw@jabberwocky.com> | 2004-02-09 20:44:36 +0100 |
---|---|---|
committer | David Shaw <dshaw@jabberwocky.com> | 2004-02-09 20:44:36 +0100 |
commit | 74eadbf99bcd1409cf7bd2f291c03955f123d866 (patch) | |
tree | 64d4c4508588ff3f9cd1fbbf247cd1d18316610f /checks/sigs.test | |
parent | * DETAILS: Details for --list-config. (diff) | |
download | gnupg2-74eadbf99bcd1409cf7bd2f291c03955f123d866.tar.xz gnupg2-74eadbf99bcd1409cf7bd2f291c03955f123d866.zip |
* clearsig.test, sigs.test: Properly detect RSA being missing, and use the
proper key for doing an RSA test.
Diffstat (limited to '')
-rwxr-xr-x | checks/sigs.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/sigs.test b/checks/sigs.test index a0ae955dd..63f606759 100755 --- a/checks/sigs.test +++ b/checks/sigs.test @@ -24,7 +24,7 @@ done # TODO: add the new SHAs here once we allow them to be used in new # documents. -if have_cipher_algo "RSA"; then +if have_pubkey_algo "RSA"; then # Using the RSA sig key - all hashes hash_algo_list="ripemd160 sha1 md5" if have_hash_algo "SHA256"; then @@ -33,7 +33,7 @@ if have_cipher_algo "RSA"; then for da in $hash_algo_list ; do for i in $plain_files; do - $GPG -u $usrkeyid3 --digest-algo $da -s -o x --yes $i + $GPG -u $usrname3 --digest-algo $da -s -o x --yes $i $GPG -o y --yes x cmp $i y || error "$i: mismatch" # process only the first one |