diff --git a/crypto/external/bsd/openpgpsdk/dist/src/app/openpgp.c b/crypto/external/bsd/openpgpsdk/dist/src/app/openpgp.c index 224bb1810d00..d8753dba9bf3 100644 --- a/crypto/external/bsd/openpgpsdk/dist/src/app/openpgp.c +++ b/crypto/external/bsd/openpgpsdk/dist/src/app/openpgp.c @@ -333,14 +333,7 @@ int main(int argc, char **argv) switch(cmd) { case LIST_KEYS: - if (!got_keyring) - { - print_usage(usage_list_keys,pname); - exit(EXIT_ERROR); - } - - ops_keyring_list(myring); - // ops_keyring_free(&kering); + ops_keyring_list((got_keyring) ? myring : pubring); break; //case LIST_PACKETS: