diff options
author | Matt Caswell <matt@openssl.org> | 2016-08-13 14:29:41 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-16 23:36:28 +0100 |
commit | 48593cb12afc9a8b9de8b3e25ee1097c4f6fe90d (patch) | |
tree | fffce1d695bd984adac114e7c808ab8b0e565df3 /ssl | |
parent | b2e57e094db5f516cffa6f2749615a7287a7681d (diff) |
Convert SSL_SESSION* functions to use const getters
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_sess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index 4a58fa52df..1a2872c6e0 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c @@ -847,7 +847,7 @@ unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s) return s->tlsext_tick_lifetime_hint; } -void SSL_SESSION_get0_ticket(const SSL_SESSION *s, unsigned char **tick, +void SSL_SESSION_get0_ticket(const SSL_SESSION *s, const unsigned char **tick, size_t *len) { *len = s->tlsext_ticklen; |