提交 1526fea5 编写于 作者: A Andy Polyakov

evp/evp_test.c: avoid crashes when referencing uninitialized pointers.

For some reason failure surfaced on ARM platforms.
Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 15b5d658
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册