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: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Kurt Cancemi 2015-05-07 18:19:20 -04:00 committed by Matt Caswell
parent 8f744cceff
commit 7786005d0d

View File

@ -374,6 +374,7 @@ OPTIONS speed_options[] = {
#ifndef OPENSSL_NO_ENGINE
{"engine", OPT_ENGINE, 's', "Use engine, possibly a hardware device"},
#endif
{NULL},
};
#define D_MD2 0