Home GnuPG
Diffusion GnuPG cdc828f69026

dirmngr: Rewrite a weird function by straighter code.

Description

dirmngr: Rewrite a weird function by straighter code.

* dirmngr/ldap-parse-uri.c (ldap_uri_p): Use ascii-memcasecmp.

Note that the first test on ldaps or ldaps in the original code did
not worked at all so that the Mixed Case part took over there.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 17 2021, 3:27 PM
Parents
rG3c7b1f3f5fa8: common: Fix compiler warning
Branches
Unknown
Tags
Unknown