]> granicus.if.org Git - openssl/commitdiff
Fix initialisation in fatalerrtest
authorMatt Caswell <matt@openssl.org>
Thu, 7 Dec 2017 14:40:49 +0000 (14:40 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 7 Dec 2017 14:40:49 +0000 (14:40 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4866)

ssl/fatalerrtest.c

index 0288c33fa2eb9c9258aa3928632798909ba0ea55..749bc3697ea253d1007122a1156529077e163853 100644 (file)
@@ -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;