diff options
author | Ingo Klöcker <[email protected]> | 2023-09-04 15:31:18 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-09-04 15:31:18 +0000 |
commit | 8fde9cbe22885116e4779ea70e13bd0c2273d604 (patch) | |
tree | b65efb7aa189f0cf83f2b596260d274b93122bad | |
parent | New mode to list a v5 fingerprint for v4 packets. (diff) | |
download | gpgme-8fde9cbe22885116e4779ea70e13bd0c2273d604.tar.gz gpgme-8fde9cbe22885116e4779ea70e13bd0c2273d604.zip |
tests: Re-add --with-secret option
* tests/run-keylist.c (main): Handle option --with-secret again.
--
Re-add handling of --with-secret option that was accidentally removed
with the previous commit.
GnuPG-bug-id: 6705
-rw-r--r-- | tests/run-keylist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-keylist.c b/tests/run-keylist.c index d517cac5..46f8f3b2 100644 --- a/tests/run-keylist.c +++ b/tests/run-keylist.c @@ -180,9 +180,9 @@ main (int argc, char **argv) mode |= GPGME_KEYLIST_MODE_VALIDATE; argc--; argv++; } - else if (!strcmp (*argv, "--validate")) + else if (!strcmp (*argv, "--with-secret")) { - mode |= GPGME_KEYLIST_MODE_VALIDATE; + mode |= GPGME_KEYLIST_MODE_WITH_SECRET; argc--; argv++; } else if (!strcmp (*argv, "--v5fpr")) |