From 736fdc7bedf7fe8b17717032f7380c5c6e247d0d Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 17 Mar 2018 15:55:53 +0000 Subject: Provide SSL_SESSION_get_ticket_lifetime_hint() and SSL_SESSION_has_ticket() ok jsing --- src/lib/libssl/ssl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libssl/ssl.h') diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 17b9467ae0..05939f214d 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.151 2018/03/17 15:48:31 tb Exp $ */ +/* $OpenBSD: ssl.h,v 1.152 2018/03/17 15:55:52 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1327,6 +1327,8 @@ const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *ss, unsigned int *len); const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *ss, unsigned int *len); +unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s); +int SSL_SESSION_has_ticket(const SSL_SESSION *s); unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *ss); int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses); int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses); -- cgit v1.2.3-55-g6feb