aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-07-24 06:35:34 +0000
committerNIIBE Yutaka <[email protected]>2017-07-24 06:35:34 +0000
commit789401e9557db13422f47a8c09e693f3cee0132b (patch)
tree7825f6a596791df017c1c8c173234693d77baeda /dirmngr/ldap.c
parentdirmngr: Minor fix for Windows. (diff)
downloadgnupg-789401e9557db13422f47a8c09e693f3cee0132b.tar.gz
gnupg-789401e9557db13422f47a8c09e693f3cee0132b.zip
dirmngr: More minor fixes.
* dirmngr/http.c (http_verify_server_credentials): Duplicated const. * dirmngr/ldap.c (parse_one_pattern): Add comment. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/ldap.c')
-rw-r--r--dirmngr/ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirmngr/ldap.c b/dirmngr/ldap.c
index d661a6825..adf83071e 100644
--- a/dirmngr/ldap.c
+++ b/dirmngr/ldap.c
@@ -363,6 +363,7 @@ parse_one_pattern (const char *pattern)
break;
case '*':
pattern++;
+ /* fall through */
default: /* Take as substring match. */
{
const char format[] = "(|(sn=*%s*)(|(cn=*%s*)(mail=*%s*)))";