* keyserver.c (parse_keyserver_options): Only change max_cert if it is
authorDavid Shaw <dshaw@jabberwocky.com>
Fri, 24 Feb 2006 03:57:11 +0000 (03:57 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Fri, 24 Feb 2006 03:57:11 +0000 (03:57 +0000)
used.

g10/ChangeLog
g10/keyserver.c

index 7006721..d16b83c 100644 (file)
@@ -1,5 +1,8 @@
 2006-02-23  David Shaw  <dshaw@jabberwocky.com>
 
+       * keyserver.c (parse_keyserver_options): Only change max_cert if
+       it is used.
+
        * options.c, gpg.c (main), keyserver.c (keyserver_spawn): No
        special treatment of include-revoked, include-subkeys, and
        try-dns-srv.  These are keyserver features, and GPG shouldn't get
index 050e006..ee20e42 100644 (file)
@@ -124,7 +124,7 @@ parse_keyserver_options(char *options)
 {
   int ret=1;
   char *tok;
-  char *max_cert;
+  char *max_cert=NULL;
 
   keyserver_opts[0].value=&max_cert;