mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
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 <gniibe@fsij.org>
This commit is contained in:
parent
274602820c
commit
789401e955
@ -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;
|
||||
|
@ -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*)))";
|
||||
|
Loading…
x
Reference in New Issue
Block a user