summaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-06 20:27:14 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-06 20:27:14 -0500
commit0b787b1daf68a7da44a5465e4b7afca417761449 (patch)
tree1ec29badd541e994051102e6f97ea72c95be8f8a /src/or/hs_descriptor.c
parent61612f980d397503ebdd0a2259fac233af6298c9 (diff)
downloadtor-0b787b1daf68a7da44a5465e4b7afca417761449.tar.gz
tor-0b787b1daf68a7da44a5465e4b7afca417761449.zip
Workaround for warning in desc_encode_v3().
Fixes bug 20581.
Diffstat (limited to 'src/or/hs_descriptor.c')
-rw-r--r--src/or/hs_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c
index 7c5d204ef3..96db936735 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -784,7 +784,7 @@ desc_encode_v3(const hs_descriptor_t *desc, char **encoded_out)
/* Build the encrypted data section. */
{
- char *enc_b64_blob;
+ char *enc_b64_blob=NULL;
if (encode_encrypted_data(desc, &enc_b64_blob) < 0) {
goto err;
}