aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_hkp.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyserver/gpgkeys_hkp.c')
-rw-r--r--keyserver/gpgkeys_hkp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c
index 4328a2f53..f93676905 100644
--- a/keyserver/gpgkeys_hkp.c
+++ b/keyserver/gpgkeys_hkp.c
@@ -1,5 +1,5 @@
/* gpgkeys_hkp.c - talk to an HKP keyserver
- * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
+ * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
* 2007 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
@@ -45,6 +45,7 @@
#else
#include "curl-shim.h"
#endif
+#include "compat.h"
#include "keyserver.h"
#include "ksutil.h"
@@ -597,13 +598,13 @@ main(int argc,char *argv[])
option[MAX_OPTION]='\0';
- if(strncasecmp(option,"no-",3)==0)
+ if(ascii_strncasecmp(option,"no-",3)==0)
{
no=1;
start=&option[3];
}
- if(strncasecmp(start,"http-proxy",10)==0)
+ if(ascii_strncasecmp(start,"http-proxy",10)==0)
{
if(no)
{
@@ -620,7 +621,7 @@ main(int argc,char *argv[])
}
}
#if 0
- else if(strcasecmp(start,"try-dns-srv")==0)
+ else if(ascii_strcasecmp(start,"try-dns-srv")==0)
{
if(no)
http_flags&=~HTTP_FLAG_TRY_SRV;