diff options
author | Ijtaba Hussain <ijtabahussain@live.com> | 2023-06-09 11:04:53 +0500 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-02-21 10:28:17 +0100 |
commit | ffc853bcb5f431d57b8a24dd062ff76d52891e63 (patch) | |
tree | 2e3f884536c6d23fb114bbe255ba39600fe5dac5 /include | |
parent | 709637c8764e153f77c1d55d00b37fb08634aca9 (diff) |
Extended SSL_SESSION functions using time_t
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21206)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in index 4c5477de98..0667fc3ec8 100644 --- a/include/openssl/ssl.h.in +++ b/include/openssl/ssl.h.in @@ -1691,6 +1691,9 @@ __owur long SSL_SESSION_set_timeout(SSL_SESSION *s, long t); __owur int SSL_SESSION_get_protocol_version(const SSL_SESSION *s); __owur int SSL_SESSION_set_protocol_version(SSL_SESSION *s, int version); +__owur time_t SSL_SESSION_get_time_ex(const SSL_SESSION *s); +__owur time_t SSL_SESSION_set_time_ex(SSL_SESSION *s, time_t t); + __owur const char *SSL_SESSION_get0_hostname(const SSL_SESSION *s); __owur int SSL_SESSION_set1_hostname(SSL_SESSION *s, const char *hostname); void SSL_SESSION_get0_alpn_selected(const SSL_SESSION *s, |