Don't depend on SSL structure internals
authorMatt Caswell <matt@openssl.org>
Mon, 5 Oct 2015 09:21:11 +0000 (10:21 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:39:46 +0000 (08:39 +0000)
commit7c8b53571698f32219a912e05bc71df4017094c1
treeee8552d78958a42b6013bb054229354d41d4cffb
parent35bf6e05371de3aebd83dc630125a108ec4a5e70
Don't depend on SSL structure internals

The macros SSL_in_connect_init() and SSL_in_accept_init() inadvertently
depended on SSL structure internals. This fixes it to use public API calls
instead.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
include/openssl/ssl.h