Convert SSL BIO to use SSL_write_ex().
authorMatt Caswell <matt@openssl.org>
Wed, 19 Oct 2016 13:09:02 +0000 (14:09 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 4 Nov 2016 12:09:45 +0000 (12:09 +0000)
commit8051ab2b6f8e1fb9e957771afcc3555560f9694f
treef8f62b953331c2e371814842a3c7547a1b0741a5
parent8b0e934afbdf8ca61866263c507d4b653135952d
Convert SSL BIO to use SSL_write_ex().

We also modify the SSL_get_error() function to handle the fact that with
SSL_write_ex() the error return is 0 not -1, and fix some bugs in the
SSL BIO reading.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/bio_ssl.c
ssl/ssl_lib.c