提交 7786005d 编写于 作者: K Kurt Cancemi 提交者: Matt Caswell

Add missing terminating NULL to speed_options table.

This would cause memory corruption in opt_init() because it relies on the
terminating NULL.

RT#3842
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 8f744cce
...@@ -374,6 +374,7 @@ OPTIONS speed_options[] = { ...@@ -374,6 +374,7 @@ OPTIONS speed_options[] = {
#ifndef OPENSSL_NO_ENGINE #ifndef OPENSSL_NO_ENGINE
{"engine", OPT_ENGINE, 's', "Use engine, possibly a hardware device"}, {"engine", OPT_ENGINE, 's', "Use engine, possibly a hardware device"},
#endif #endif
{NULL},
}; };
#define D_MD2 0 #define D_MD2 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册