Add some missing cleanup calls to de-init
authorMatt Caswell <matt@openssl.org>
Mon, 14 Mar 2016 10:26:28 +0000 (10:26 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 14 Mar 2016 10:54:37 +0000 (10:54 +0000)
commitb10cdcce005780d9a5ac0398fb0cb4194c0d991b
treed49e08f59af0ea494ace21f1589c8e2806778b0c
parenta87c159f19e998bba660ceba9d01c5fc58bfa60b
Add some missing cleanup calls to de-init

OBJ_cleanup() doesn't always get called from EVP_cleanup() so needs to be
explicitly called in de-init. Also BIO_sock_cleanup() also needs to be
called.

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