explicit init
authorFdaSilvaYY <fdasilvayy@gmail.com>
Thu, 14 Jul 2016 08:36:55 +0000 (10:36 +0200)
committerRich Salz <rsalz@openssl.org>
Mon, 25 Jul 2016 12:35:39 +0000 (08:35 -0400)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1301)

crypto/engine/eng_openssl.c

index 7e28604955743082ec893fbe6c0eb6853e24433e..9208f7eafc502650cf4634ed3f682ae8c7c4e274 100644 (file)
@@ -264,7 +264,7 @@ static void test_r4_40_cipher_destroy(void)
 }
 static int test_cipher_nids(const int **nids)
 {
-    static int cipher_nids[4] = { 0, 0, 0 };
+    static int cipher_nids[4] = { 0, 0, 0, 0 };
     static int pos = 0;
     static int init = 0;