aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyserver-internal.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-09-11 15:42:19 +0000
committerDavid Shaw <[email protected]>2004-09-11 15:42:19 +0000
commit45f99c58bb4713cfd2e116f81a010e822ae137b9 (patch)
tree347ab8a3460499431a96d547efc4a195770086d8 /g10/keyserver-internal.h
parent* app-openpgp.c (get_cached_data): Avoid mallocing zero since it breaks us (diff)
downloadgnupg-45f99c58bb4713cfd2e116f81a010e822ae137b9.tar.gz
gnupg-45f99c58bb4713cfd2e116f81a010e822ae137b9.zip
* card-util.c (fetch_url, card_edit): Use the pubkey URL stored on the
card to fetch an updated copy. Works with either straight URLs or HKP or LDAP keyservers. * keyserver-internal.h, keyserver.c (keyserver_import_fprint), import.c (revocation_present): Use a keyserver_spec so the caller can pass in whatever keyserver they like.
Diffstat (limited to 'g10/keyserver-internal.h')
-rw-r--r--g10/keyserver-internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/keyserver-internal.h b/g10/keyserver-internal.h
index 851f1a904..2fbfd5431 100644
--- a/g10/keyserver-internal.h
+++ b/g10/keyserver-internal.h
@@ -34,7 +34,8 @@ struct keyserver_spec *parse_keyserver_uri(const char *uri,int require_scheme,
struct keyserver_spec *parse_preferred_keyserver(PKT_signature *sig);
int keyserver_export(STRLIST users);
int keyserver_import(STRLIST users);
-int keyserver_import_fprint(const byte *fprint,size_t fprint_len);
+int keyserver_import_fprint(const byte *fprint,size_t fprint_len,
+ struct keyserver_spec *keyserver);
int keyserver_import_keyid(u32 *keyid,struct keyserver_spec *keyserver);
int keyserver_refresh(STRLIST users);
int keyserver_search(STRLIST tokens);