M_check_autoarg: sanity check the key
authorRichard Levitte <levitte@openssl.org>
Tue, 20 Dec 2016 11:56:14 +0000 (12:56 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 20 Dec 2016 15:10:24 +0000 (16:10 +0100)
commitd7c8f142ea5953bf260b70a58739c1c9b0f038eb
tree21e2b3ed050147e8cbea3e234866c12ad10c1728
parent992155d0ea1d59d20f0c242ea400434cd8370fe1
M_check_autoarg: sanity check the key

For now, checking that the size is non-zero will suffice.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2120)
crypto/evp/evp_err.c
crypto/evp/pmeth_fn.c
include/openssl/evp.h