1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-04-17 15:44:34 +02:00

* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.

This commit is contained in:
David Shaw 2009-02-03 19:49:17 +00:00
parent fe57cdc2fb
commit e532a4e86f
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-02-03 David Shaw <dshaw@jabberwocky.com>
* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as
well.
2008-12-21 David Shaw <dshaw@jabberwocky.com> 2008-12-21 David Shaw <dshaw@jabberwocky.com>
* gpg.c (main): Properly handle UTF8 usernames with --sign-key and * gpg.c (main): Properly handle UTF8 usernames with --sign-key and

View File

@ -1,6 +1,6 @@
/* keyserver.c - generic keyserver code /* keyserver.c - generic keyserver code
* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
* 2007 Free Software Foundation, Inc. * 2009 Free Software Foundation, Inc.
* *
* This file is part of GnuPG. * This file is part of GnuPG.
* *
@ -927,6 +927,8 @@ keyserver_typemap(const char *type)
{ {
if(strcmp(type,"ldaps")==0) if(strcmp(type,"ldaps")==0)
return "ldap"; return "ldap";
else if(strcmp(type,"hkps")==0)
return "hkp";
else else
return type; return type;
} }