aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.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/http.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 '')
-rw-r--r--dirmngr/http.c2
1 files changed, 1 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;