1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* options.h, gpg.c (main, parse_trust_model), pkclist.c

(check_signatures_trust), mainproc.c (check_sig_and_print,
pka_uri_from_sig), trustdb.c (init_trustdb): Some tweaks to PKA so that it
is a verify-option now.
This commit is contained in:
David Shaw 2006-03-07 20:14:20 +00:00
parent 81e2591421
commit 4f9efb7a79
6 changed files with 23 additions and 50 deletions

View file

@ -1390,7 +1390,7 @@ pka_uri_from_sig (PKT_signature *sig)
assert (!sig->pka_info);
sig->flags.pka_tried = 1;
sig->pka_info = get_pka_address (sig);
if (sig->pka_info && opt.allow_pka_lookup)
if (sig->pka_info)
{
char *uri;
@ -1866,7 +1866,8 @@ check_sig_and_print( CTX c, KBNODE node )
if (!rc)
{
pka_uri_from_sig (sig); /* Make sure PKA info is available. */
if(opt.verify_options&VERIFY_PKA_LOOKUP)
pka_uri_from_sig (sig); /* Make sure PKA info is available. */
rc = check_signatures_trust( sig );
}