summaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/http.c2
-rw-r--r--dirmngr/ldap.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index c64107072..b16de7d6f 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -3282,7 +3282,7 @@ gpg_error_t
http_verify_server_credentials (http_session_t sess)
{
#if HTTP_USE_GNUTLS
- static const char const errprefix[] = "TLS verification of peer failed";
+ static const char errprefix[] = "TLS verification of peer failed";
int rc;
unsigned int status;
const char *hostname;
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*)))";