Diffenderfer, Randy wrote:
Folks,Am trying to sort out "mysterious" TLS setup failures within sendmail. Are there any runtime symbols I can twiddle to cause the library to be more forthcoming about what it's doing? Have wandered through sendmail and he pretty much treats the openssl calls as a black box, with very little opportunity for runtime log output volume increase. So, am curious if there are any hooks in the library to produce "stuff" to help me here.
Have a look at the info and message callback functions which allow you to register 'hooks' (aka callbacks) which are invoked from the OpenSSL code.
apps/s_cb.c has examples - and see their usage viaSSL_CTX_set_info_callback(ctx,apps_ssl_info_callback) and SSL_set_msg_callback(con, msg_cb) in s_client and s_server.
Tim.
PGP.sig
Description: PGP signature