Get pointer type right in BIO_ssl_shutdown()
authorRich Salz <rsalz@openssl.org>
Thu, 16 Feb 2017 16:13:47 +0000 (11:13 -0500)
committerRich Salz <rsalz@openssl.org>
Tue, 7 Mar 2017 15:05:08 +0000 (10:05 -0500)
commit51800912006b2b09ed61607842fce8dbb2f44a9c
treef459f1dd5702a1a2fd472831ff8a6b4de078b34c
parentc6e4fdbf8b44010ba12b72d519e437bbd2da71e6
Get pointer type right in BIO_ssl_shutdown()

Also, restore 1.0.2 behavior of looping over all BIO's in the chain.
Thanks to Joseph Bester for finding this and suggesting a fix to the
crash.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2651)
(cherry picked from commit 9015d34e141af747f7c750f8d08f862b2a8273c7)
ssl/bio_ssl.c