Remove redundant check from SSL_shutdown
authorMatt Caswell <matt@openssl.org>
Mon, 9 Nov 2015 15:31:27 +0000 (15:31 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 9 Nov 2015 15:36:19 +0000 (15:36 +0000)
commit3457e7a087a643cb65d67d9d72ec5983a02f5dfe
tree8f0b1a89d91fcf19aea4f1d7f6cb47c9c4498cd0
parent6703c4ea87b30554283deaa5df1f8d68725d3ee4
Remove redundant check from SSL_shutdown

The SSL object was being deref'd and then there was a later redundant check
to see if it is NULL. We assume all SSL_foo functions pass a non NULL SSL
object and do not check it.

Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/ssl_lib.c