Fix assertion failure in SSL_set_bio()
authorMatt Caswell <matt@openssl.org>
Mon, 16 Apr 2018 13:06:56 +0000 (14:06 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 17 Apr 2018 16:02:33 +0000 (17:02 +0100)
commitbd7775e14a19c326d3720f2345c2ae324409e979
tree5507c1203a1d8984d147c4c8a1a57c6a7629a07c
parent2bdeffefddd8e8a65a51a7b020f8d51a4a3b1602
Fix assertion failure in SSL_set_bio()

If SSL_set_bio() is called with a NULL wbio after a failed connection then
this can trigger an assertion failure. This should be valid behaviour and
the assertion is in fact invalid and can simply be removed.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5966)
ssl/ssl_lib.c