Make sure SSL_in_init() returns 0 at SSL_CB_HANDSHAKE_DONE
authorMatt Caswell <matt@openssl.org>
Thu, 19 Apr 2018 14:26:28 +0000 (15:26 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 20 Apr 2018 10:46:12 +0000 (11:46 +0100)
commit4ce787b97aa66e1b4c1d48f6ec047141408056f7
treeee102ad590a4eb63b125aeedf9e69cd41439fed9
parent4b7c6385f779e92ffcd76159b03b4dac301e93e7
Make sure SSL_in_init() returns 0 at SSL_CB_HANDSHAKE_DONE

In 1.1.0 and before calling SSL_in_init() from the info_callback
at SSL_CB_HANDSHAKE_DONE would return 0. This commit fixes it so
that it does again for 1.1.1. This broke Node.

Fixes #4574

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6019)
ssl/statem/statem_lib.c