Home GnuPG
Diffusion GnuPG 536b5cd66305

dirmngr: Fix lost flags during LDAP upload

Description

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.

Details

Provenance
wernerAuthored on Sep 28 2022, 3:40 PM
Parents
rG1b0c17dfab50: gpg: Silence some diagnostics.
Branches
Unknown
Tags
Unknown