diff options
author | Daiki Ueno <dueno@redhat.com> | 2020-02-21 16:38:29 +0100 |
---|---|---|
committer | Daiki Ueno <dueno@redhat.com> | 2020-02-22 08:19:08 +0100 |
commit | 8da3a71b358aa4a3199d1ee72c4e0d25a4588131 (patch) | |
tree | d5b4d45bbdf4543e88ef4e0bcd58cad5789efa49 /lib/gnutls_int.h | |
parent | 0f48ce3d377e4975324216543d9a2d352ec825c3 (diff) | |
download | gnutls-8da3a71b358aa4a3199d1ee72c4e0d25a4588131.tar.gz |
keylogfile: simplify the callback mechanismtmp-keylog-func
This partially reverts commit 97117556 with a simpler interface. The
original intention of having the callback mechanism was to reuse it
for monitoring QUIC encryption changes. However, it turned out to be
insufficient because such changes must be emitted after a new epoch is
ready.
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index cd2adc103d..d9d851be62 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -1243,7 +1243,7 @@ typedef struct { unsigned int h_type; /* the hooked type */ int16_t h_post; /* whether post-generation/receive */ - gnutls_handshake_secret_func secret_func; + gnutls_keylog_func keylog_func; /* holds the selected certificate and key. * use _gnutls_selected_certs_deinit() and _gnutls_selected_certs_set() |