diff options
author | David Shaw <[email protected]> | 2004-05-08 13:51:14 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-05-08 13:51:14 +0000 |
commit | 614304a54379fc040ded52296015402451166440 (patch) | |
tree | 1a762a1fdb9f7c925bb3fbdbda20d08cd0cc3b15 /g10/keyserver-internal.h | |
parent | (write_plaintext_packet): Fixed the detection of too (diff) | |
download | gnupg-614304a54379fc040ded52296015402451166440.tar.gz gnupg-614304a54379fc040ded52296015402451166440.zip |
* keyedit.c (keyedit_menu, menu_set_keyserver_url): Allow passing
preferred keyserver on "keyserver" command line. Sanity check keyserver
URL before accepting it.
* keyserver-internal.h, g10.c (main), keyserver.c (parse_keyserver_uri):
Add an option to require the scheme:// and change all callers.
(free_keyserver_spec): Make public.
Diffstat (limited to 'g10/keyserver-internal.h')
-rw-r--r-- | g10/keyserver-internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/keyserver-internal.h b/g10/keyserver-internal.h index 42b78048d..9450bbb1d 100644 --- a/g10/keyserver-internal.h +++ b/g10/keyserver-internal.h @@ -9,7 +9,8 @@ #include "types.h" int parse_keyserver_options(char *options); -struct keyserver_spec *parse_keyserver_uri(char *uri, +void free_keyserver_spec(struct keyserver_spec *keyserver); +struct keyserver_spec *parse_keyserver_uri(char *uri,int require_scheme, const char *configname, unsigned int configlineno); int keyserver_export(STRLIST users); |