Remove an unneccessary check of cipher
authorMatt Caswell <matt@openssl.org>
Mon, 16 May 2016 13:56:53 +0000 (14:56 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 16 May 2016 19:28:03 +0000 (20:28 +0100)
commita7f9e0a45f5f35a5fe318461aa03b4afe944af74
treef713ff4a9c643559a0a447b0c19907f09fea04c8
parent49445f21da5ad436a117d0d4cc6220c4bbbbf8a7
Remove an unneccessary check of cipher

Due to short-circuiting we only need to check "cipher" for NULL once.

PR#699

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/evp/evp_enc.c