summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-02-16 20:02:24 +0100
committerRichard Levitte <levitte@openssl.org>2021-02-16 20:17:11 +0100
commit01cf4f868e08f82daa16d049fa7d241d8089c8d8 (patch)
tree6c2101a581544eec81a5f87806a3e21899e5d4ce
parent97149c8219189c1bb61d36bfcd511956caeb4771 (diff)
TEST: Add missing initialization
Compiler complained. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14204) (cherry picked from commit 55e9d8cfffc1a40b0ab72e014ff62d5ef2a0ed63)
-rw-r--r--test/rsa_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rsa_test.c b/test/rsa_test.c
index 11e373cceb..bdbab75f8f 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";