From: Matt Caswell Date: Thu, 7 Dec 2017 14:40:49 +0000 (+0000) Subject: Fix initialisation in fatalerrtest X-Git-Tag: OpenSSL_1_0_2o~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=236e3731bb3392f62370fe87a6eb76aa993c712c;p=openssl Fix initialisation in fatalerrtest Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4866) --- diff --git a/ssl/fatalerrtest.c b/ssl/fatalerrtest.c index 0288c33fa2..749bc3697e 100644 --- a/ssl/fatalerrtest.c +++ b/ssl/fatalerrtest.c @@ -13,8 +13,8 @@ int main(int argc, char *argv[]) { - SSL_CTX *sctx, *cctx; - SSL *sssl, *cssl; + SSL_CTX *sctx = NULL, *cctx = NULL; + SSL *sssl = NULL, *cssl = NULL; const char *msg = "Dummy"; BIO *err = NULL, *wbio = NULL; int ret = 1, len;