diff options
author | TJ Saunders <tj@castaglia.org> | 2016-05-26 15:40:13 -0700 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-05-31 17:16:29 -0400 |
commit | bd01f6498c2c5007df64ba88c5d88ff15b0376cb (patch) | |
tree | eae87797af4e605a3af32ddfbe81221ca414500e /include | |
parent | 6d1e7709c67fa258527e58b797dc581c4e236f20 (diff) |
Add an SSL_SESSION accessor for obtaining the protocol version number, with
accompanying documentation.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1135)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index f019f64aa8..c6c357642a 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1376,6 +1376,7 @@ __owur long SSL_SESSION_get_time(const SSL_SESSION *s); __owur long SSL_SESSION_set_time(SSL_SESSION *s, long t); __owur long SSL_SESSION_get_timeout(const SSL_SESSION *s); __owur long SSL_SESSION_set_timeout(SSL_SESSION *s, long t); +__owur int SSL_SESSION_get_protocol_version(const SSL_SESSION *s); __owur const char *SSL_SESSION_get0_hostname(const SSL_SESSION *s); __owur int SSL_SESSION_has_ticket(const SSL_SESSION *s); __owur unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s); |