From 1526fea5441f0b6256b298b30ba9fcb3e3ecd930 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 22 Feb 2015 19:13:35 +0100 Subject: [PATCH] evp/evp_test.c: avoid crashes when referencing uninitialized pointers. For some reason failure surfaced on ARM platforms. Reviewed-by: Matt Caswell --- crypto/evp/evp_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 7706ee135e..fb8ac4fd9b 100644 --- a/crypto/evp/evp_test.c +++ b/crypto/evp/evp_test.c @@ -454,6 +454,8 @@ int main(int argc, char **argv) ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); + + memset(&t,0,sizeof(t)); t.meth = NULL; t.public = NULL; t.private = NULL; -- 2.25.1