MEDIUM: ssl: allow to register callbacks for SSL/TLS protocol messages
authorDragan Dosen <ddosen@haproxy.com>
Fri, 8 May 2020 16:30:00 +0000 (18:30 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 14 May 2020 11:13:14 +0000 (13:13 +0200)
commit1e7ed04665f91a9558d07059c495399fcd1f803e
tree90bd9d3d51e1fb60c0befed85bb172ff03f2dd2b
parent5ce3c14aa97396502fe68c6ce42a32ea99361046
MEDIUM: ssl: allow to register callbacks for SSL/TLS protocol messages

This patch adds the ability to register callbacks for SSL/TLS protocol
messages by using the function ssl_sock_register_msg_callback().

All registered callback functions will be called when observing received
or sent SSL/TLS protocol messages.
include/proto/ssl_sock.h
include/types/ssl_sock.h
src/ssl_sock.c