From: Rich Salz Date: Sun, 31 May 2015 18:46:44 +0000 (-0400) Subject: Silence Clang warning about unit'd variable X-Git-Tag: OpenSSL_1_1_0-pre1~1050 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c8a527cff6cd4e07935e5a86335963e93adf75a;p=openssl Silence Clang warning about unit'd variable Reviewed-by: Tim Hudson --- diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index e410ff76f3..e8653412aa 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -808,7 +808,7 @@ int tls1_export_keying_material(SSL *s, unsigned char *out, size_t olen, { unsigned char *buff; unsigned char *val = NULL; - size_t vallen, currentvalpos; + size_t vallen = 0, currentvalpos; int rv; buff = OPENSSL_malloc(olen);