explicit init

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1301)
This commit is contained in:
FdaSilvaYY 2016-07-14 10:36:55 +02:00 committed by Rich Salz
parent ceab33e2cf
commit 1e4c66f953

View 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;