mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
dirmngr: Fix lost flags during LDAP upload
* dirmngr/ldapserver.c (ldapserver_parse_one): Turn LINE into a const. Use strtokenize instead of strtok style parsing. -- This fixes a problem with resulted in a General Error for the second key to be uploaded in the same session. But only if the colon format to specify a keyserver with flags was used.
This commit is contained in:
parent
1b0c17dfab
commit
536b5cd663
2 changed files with 18 additions and 15 deletions
|
@ -26,7 +26,7 @@
|
|||
void ldapserver_list_free (ldap_server_t servers);
|
||||
|
||||
|
||||
ldap_server_t ldapserver_parse_one (char *line,
|
||||
ldap_server_t ldapserver_parse_one (const char *line,
|
||||
const char *filename, unsigned int lineno);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue