From: Dr. Stephen Henson Date: Fri, 29 Jan 2016 15:12:16 +0000 (+0000) Subject: fix warning X-Git-Tag: OpenSSL_1_1_0-pre3~359 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc9d9ce27a0c4d525e9c4e145993756fe3a7da23;p=openssl fix warning Reviewed-by: Viktor Dukhovni --- diff --git a/test/evp_test.c b/test/evp_test.c index 326ed0d153..64b4f93858 100644 --- a/test/evp_test.c +++ b/test/evp_test.c @@ -169,6 +169,8 @@ static unsigned char* unescape(const char *input, size_t input_len, static int test_bin(const char *value, unsigned char **buf, size_t *buflen) { long len; + + *buflen = 0; if (!*value) { /* * Don't return NULL for zero length buffer.