aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/getkey.c')
-rw-r--r--g10/getkey.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 8cc1c9074..267eee541 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -3008,6 +3008,12 @@ parse_auto_key_locate(char *options)
if(tok[0]=='\0')
continue;
+ /* For now we silently ignore the new methods introduced with
+ 2.0.10. */
+ if (!ascii_strcasecmp (tok,"nodefault")
+ || !ascii_strcasecmp (tok,"local"))
+ continue;
+
akl=xmalloc_clear(sizeof(*akl));
if(ascii_strcasecmp(tok,"ldap")==0)