diff options
author | Werner Koch <[email protected]> | 2010-04-21 16:26:17 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-04-21 16:26:17 +0000 |
commit | a1412b05debe693e6aabaf2c2c337bc33f7dfd41 (patch) | |
tree | 214dc8928b73aaa385d69eaa180164318ff0bb93 /g10/mainproc.c | |
parent | Disable card support for now (diff) | |
download | gnupg-a1412b05debe693e6aabaf2c2c337bc33f7dfd41.tar.gz gnupg-a1412b05debe693e6aabaf2c2c337bc33f7dfd41.zip |
More changes on the way to remove secring.gpg.
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r-- | g10/mainproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c index a61325aba..2b2d29dc2 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -395,7 +395,7 @@ proc_pubkey_enc( CTX c, PACKET *pkt ) experience if wildcard keyids are used. */ if ( !c->dek && ((!enc->keyid[0] && !enc->keyid[1]) || opt.try_all_secrets - || !seckey_available( enc->keyid )) ) { + || have_secret_key_with_kid (enc->keyid)) ) { if( opt.list_only ) result = -1; else { |