diff options
author | Andy Polyakov <appro@openssl.org> | 2015-02-22 19:13:35 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-02-22 19:13:35 +0100 |
commit | 1526fea5441f0b6256b298b30ba9fcb3e3ecd930 (patch) | |
tree | 6e4b4cc9fc0d8dc6e2b8d95e587a14751fed3f73 /crypto/evp | |
parent | 15b5d6585de098e48acebc8366a9956ee57c8f2d (diff) | |
download | openssl-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.c | 2 |
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; |