aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-09-20 08:19:44 +0000
committerJustus Winter <[email protected]>2016-09-20 13:33:57 +0000
commit285d193f1e1464495bce57bd0f323468515b4513 (patch)
treefdaf0154d027d22b431e7c623a76eca8344cdb0a
parentdirmngr: Open file CRL's in binary mode (diff)
downloadgnupg-285d193f1e1464495bce57bd0f323468515b4513.tar.gz
gnupg-285d193f1e1464495bce57bd0f323468515b4513.zip
dirmngr: Fix type.
* dirmngr/dns-stuff.c (get_dns_cert): Fix type in fallback code. Signed-off-by: Justus Winter <[email protected]>
-rw-r--r--dirmngr/dns-stuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c
index 191719e93..ac295b0cc 100644
--- a/dirmngr/dns-stuff.c
+++ b/dirmngr/dns-stuff.c
@@ -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;