dirmngr: Fix type.
authorJustus Winter <justus@g10code.com>
Tue, 20 Sep 2016 08:19:44 +0000 (10:19 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 20 Sep 2016 13:33:57 +0000 (15:33 +0200)
* dirmngr/dns-stuff.c (get_dns_cert): Fix type in fallback code.

Signed-off-by: Justus Winter <justus@g10code.com>
dirmngr/dns-stuff.c

index 191719e..ac295b0 100644 (file)
@@ -990,7 +990,7 @@ get_dns_cert (const char *name, int want_certtype,
   if (r_key)
     *r_key = NULL;
   if (r_keylen)
-    *r_keylen = NULL;
+    *r_keylen = 0;
   *r_fpr = NULL;
   *r_fprlen = 0;
   *r_url = NULL;