aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keyserver.c')
-rw-r--r--g10/keyserver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c
index 6b7c91863..1b63664f0 100644
--- a/g10/keyserver.c
+++ b/g10/keyserver.c
@@ -156,7 +156,8 @@ parse_keyserver_uri(char *uri,const char *configname,unsigned int configlineno)
opt.keyserver_scheme="hkp";
opt.keyserver_options.broken_http_proxy=1;
}
- else if(ascii_strcasecmp(opt.keyserver_scheme,"x-hkp")==0)
+ else if(ascii_strcasecmp(opt.keyserver_scheme,"x-hkp")==0
+ || ascii_strcasecmp(opt.keyserver_scheme,"http")==0)
{
/* Canonicalize this to "hkp" so it works with both the internal
and external keyserver interface. */