mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.
From 1.4.
This commit is contained in:
parent
a0627f5a22
commit
b613817269
2 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
/* keyserver.c - generic keyserver code
|
||||
* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
|
||||
* 2007, 2008 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
|
||||
* 2009 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GnuPG.
|
||||
*
|
||||
|
@ -941,6 +941,8 @@ keyserver_typemap(const char *type)
|
|||
{
|
||||
if(strcmp(type,"ldaps")==0)
|
||||
return "ldap";
|
||||
else if(strcmp(type,"hkps")==0)
|
||||
return "hkp";
|
||||
else
|
||||
return type;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue