aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2006-02-22 19:06:23 +0000
committerDavid Shaw <[email protected]>2006-02-22 19:06:23 +0000
commit7eab1846ca966b0a15107931618b0d5fb15a1444 (patch)
treec021fba95ddb8cbf5cc94d3729a3833775d1aeb7 /g10/options.h
parent* gpgkeys_ldap.c (make_one_attr, build_attrs, send_key): Don't allow (diff)
downloadgnupg-7eab1846ca966b0a15107931618b0d5fb15a1444.tar.gz
gnupg-7eab1846ca966b0a15107931618b0d5fb15a1444.zip
* options.h, keydb.h, g10.c (main), getkey.c (parse_auto_key_locate):
Parse a list of key access methods. (get_pubkey_byname): Walk the list here to try and retrieve keys we don't have locally.
Diffstat (limited to '')
-rw-r--r--g10/options.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index af5c6f737..0b6f1c306 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -220,6 +220,14 @@ struct
error (but an invalid backsig still is). */
int require_backsigs;
+ /* Linked list of ways to find a key if the key isn't on the local
+ keyring. */
+ struct akl
+ {
+ enum {AKL_CERT, AKL_PKA, AKL_LDAP, AKL_KEYSERVER} type;
+ struct akl *next;
+ } *auto_key_locate;
+
} opt;
/* CTRL is used to keep some global variables we currently can't