aboutsummaryrefslogtreecommitdiff
path: root/crypto/evp
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-02-22 19:13:35 +0100
committerAndy Polyakov <appro@openssl.org>2015-02-22 19:13:35 +0100
commit1526fea5441f0b6256b298b30ba9fcb3e3ecd930 (patch)
tree6e4b4cc9fc0d8dc6e2b8d95e587a14751fed3f73 /crypto/evp
parent15b5d6585de098e48acebc8366a9956ee57c8f2d (diff)
downloadopenssl-1526fea5441f0b6256b298b30ba9fcb3e3ecd930.zip
openssl-1526fea5441f0b6256b298b30ba9fcb3e3ecd930.tar.gz
openssl-1526fea5441f0b6256b298b30ba9fcb3e3ecd930.tar.bz2
evp/evp_test.c: avoid crashes when referencing uninitialized pointers.
For some reason failure surfaced on ARM platforms. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/evp_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c
index 7706ee1..fb8ac4f 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;