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>
This commit is contained in:
parent
15b5d6585d
commit
1526fea544
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user