]> git.ipfire.org Git - thirdparty/gnutls.git/commit
keylogfile: generalize with a callback
authorDaiki Ueno <dueno@redhat.com>
Sun, 2 Feb 2020 07:13:50 +0000 (08:13 +0100)
committerDaiki Ueno <dueno@redhat.com>
Fri, 7 Feb 2020 17:03:45 +0000 (18:03 +0100)
commit9711755641cd9b6de323676abeab6cc80ea13e4b
tree95b303ea614c67994905ee5e18d4c9d2bcd0bcbe
parentee43a212b6bde870bf0800329972f3cab24715ec
keylogfile: generalize with a callback

This refactors the keylogfile mechanism by adding a callback to get
notified when a new secret is derived and installed.  That way,
consumers can implement custom logging feature per session, which is
particularly useful in QUIC implementation.

Signed-off-by: Daiki Ueno <dueno@redhat.com>
17 files changed:
.gitignore
NEWS
devel/libgnutls-latest-x86_64.abi
devel/symbols.last
doc/Makefile.am
doc/manpages/Makefile.am
lib/constate.c
lib/ext/pre_shared_key.c
lib/gnutls_int.h
lib/handshake-tls13.c
lib/includes/gnutls/gnutls.h.in
lib/kx.c
lib/kx.h
lib/libgnutls.map
lib/state.c
tests/Makefile.am
tests/secret-hook.c [new file with mode: 0644]