mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Fix auto-key-retrieve to actually work as a keyserver-option (noted by
Roger Sondermann). Do not reorder the primary attribute packet - the first user ID must be a genuine one.
This commit is contained in:
parent
7e2e0b9950
commit
6be3bee320
3 changed files with 16 additions and 7 deletions
|
@ -91,9 +91,9 @@ parse_keyserver_options(char *options)
|
|||
else if(strcasecmp(tok,"no-refresh-add-fake-v3-keyids")==0)
|
||||
opt.keyserver_options.refresh_add_fake_v3_keyids=0;
|
||||
else if(strcasecmp(tok,"auto-key-retrieve")==0)
|
||||
opt.keyserver_options.refresh_add_fake_v3_keyids=1;
|
||||
opt.keyserver_options.auto_key_retrieve=1;
|
||||
else if(strcasecmp(tok,"no-auto-key-retrieve")==0)
|
||||
opt.keyserver_options.refresh_add_fake_v3_keyids=0;
|
||||
opt.keyserver_options.auto_key_retrieve=0;
|
||||
else if(strlen(tok)>0)
|
||||
add_to_strlist(&opt.keyserver_options.other,tok);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue