diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-11-08 17:54:11 +0100 |
---|---|---|
committer | Daiki Ueno <dueno@redhat.com> | 2018-11-12 14:08:42 +0100 |
commit | 0a590e15e17383c5b18650465266da5f4cfd2af1 (patch) | |
tree | ca150883b7b934d4e772177f2bbbb9f3280b4918 /lib/includes/gnutls/gnutls.h.in | |
parent | a5105a99f8bdc8b530ae2bf62535ce1b7ec0319c (diff) | |
download | gnutls-0a590e15e17383c5b18650465266da5f4cfd2af1.tar.gz |
db: introduce gnutls_db_check_entry_expire_time
This would be particularly useful when the same database is used to
store long-lived TLS 1.2 session data and short-lived TLS 1.3
anti-replay entries. Note that the existing gnutls_db_check_entry
doesn't fit in this use-case, as it takes gnutls_session_t as the
argument.
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/includes/gnutls/gnutls.h.in')
-rw-r--r-- | lib/includes/gnutls/gnutls.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in index 0dc173394c..1c07ff33a5 100644 --- a/lib/includes/gnutls/gnutls.h.in +++ b/lib/includes/gnutls/gnutls.h.in @@ -1799,6 +1799,7 @@ void *gnutls_db_get_ptr(gnutls_session_t session); int gnutls_db_check_entry(gnutls_session_t session, gnutls_datum_t session_entry); time_t gnutls_db_check_entry_time(gnutls_datum_t * entry); +time_t gnutls_db_check_entry_expire_time(gnutls_datum_t * entry); /** * gnutls_handshake_hook_func: |