summaryrefslogtreecommitdiffstats
path: root/test
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:02:24 +0100
commit55e9d8cfffc1a40b0ab72e014ff62d5ef2a0ed63 (patch)
tree4d7bef9aee81c24c90e8901a6730b74487ea17b3 /test
parentc913dbd7168393f7eab0dd6132d0d2581dd9e485 (diff)
TEST: Add missing initialization
Compiler complained. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14204)
Diffstat (limited to 'test')
-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 f52053bda1..095cddd8aa 100644
--- a/test/rsa_test.c
+++ b/test/rsa_test.c
@@ -303,7 +303,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";