From e80e78472e0ec127660f2394e9b322d97f280a02 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Tue, 20 Feb 2018 18:07:12 +0000 Subject: Provide SSL_SESSION_get_protocol_version() ok jsing --- lib/libssl/ssl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libssl/ssl.h') diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 1b7a3fbeba1..47c90fb39db 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.140 2018/02/17 15:32:20 jsing Exp $ */ +/* $OpenBSD: ssl.h,v 1.141 2018/02/20 18:07:11 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1279,6 +1279,7 @@ const char *SSL_state_string_long(const SSL *s); const char *SSL_rstate_string_long(const SSL *s); size_t SSL_SESSION_get_master_key(const SSL_SESSION *ss, unsigned char *out, size_t max_out); +int SSL_SESSION_get_protocol_version(SSL_SESSION *s); long SSL_SESSION_get_time(const SSL_SESSION *s); long SSL_SESSION_set_time(SSL_SESSION *s, long t); long SSL_SESSION_get_timeout(const SSL_SESSION *s); -- cgit v1.2.3