Add per-SSL 'msg_callback' with 'msg_callback_arg'.
authorBodo Möller <bodo@openssl.org>
Tue, 16 Oct 2001 13:09:24 +0000 (13:09 +0000)
committerBodo Möller <bodo@openssl.org>
Tue, 16 Oct 2001 13:09:24 +0000 (13:09 +0000)
commitbf21446a2a2bed0423ac17cbc007b5da2ce8bf2f
tree5775e0f21319cf235978221243826441ca969440
parente72d734d5fef981371db695125cc1c3d236a8768
Add per-SSL 'msg_callback' with 'msg_callback_arg'.
Both have per-SSL_CTX defaults.
These new values can be set by calling SSL[_CTX]_[callback_]ctrl
with codes SSL_CTRL_SET_MSG_CALLBACK and SSL_CTRL_SET_MSG_CALLBACK_ARG.

So far, the callback is never actually called.

Also rearrange some SSL_CTX struct members (some exist just in
SSL_CTXs, others are defaults for SSLs and are either copied
during SSL_new, or used if the value in the SSL is not set;
these three classes of members were not in a logical order),
and add some missing assignments to SSL_dup.
ssl/s3_both.c
ssl/s3_pkt.c
ssl/ssl.h
ssl/ssl_lib.c