From: Richard Levitte Date: Tue, 16 Feb 2021 19:02:24 +0000 (+0100) Subject: TEST: Add missing initialization X-Git-Tag: OpenSSL_1_1_1k~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01cf4f868e08f82daa16d049fa7d241d8089c8d8;p=thirdparty%2Fopenssl.git TEST: Add missing initialization Compiler complained. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/14204) (cherry picked from commit 55e9d8cfffc1a40b0ab72e014ff62d5ef2a0ed63) --- diff --git a/test/rsa_test.c b/test/rsa_test.c index 11e373cceb1..bdbab75f8f4 100644 --- a/test/rsa_test.c +++ b/test/rsa_test.c @@ -304,7 +304,7 @@ static int test_rsa_sslv23(int idx) static int test_rsa_oaep(int idx) { int ret = 0; - RSA *key; + RSA *key = NULL; unsigned char ptext[256]; unsigned char ctext[256]; static unsigned char ptext_ex[] = "\x54\x85\x9b\x34\x2c\x49\xea\x2a";