If key or iv is NULL set the respective length to 0
authorMatt Caswell <matt@openssl.org>
Fri, 19 Apr 2019 15:48:09 +0000 (16:48 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 23 Apr 2019 09:48:59 +0000 (10:48 +0100)
commit33b40a1027bfa6c400f24938093e80579c37586c
tree38e47643ee85213c660d0ce946210c466ef6129d
parent361ecb1d1a4d6d113a6a9cedcc272d3b09c485bd
If key or iv is NULL set the respective length to 0

[extended tests]

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/8794)
crypto/evp/evp_enc.c