Add a function to get the info_callback
authorMatt Caswell <matt@openssl.org>
Mon, 5 Oct 2015 10:28:51 +0000 (11:28 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:39:47 +0000 (08:39 +0000)
commit91eac8d567c2717ef7bfd7a5997f8e73057ce780
treee90f03a8cf4254b7c3b59c7bce5c4a88860f1581
parentf3ae986218ad2269758f4994ffe137b8233dc0b8
Add a function to get the info_callback

Remove repeated blocks of checking SSL and then SSL_CTX for the
info_callback.

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