summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-02-20 18:07:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-02-20 18:07:12 +0000
commite80e78472e0ec127660f2394e9b322d97f280a02 (patch)
tree2d795933ccb034f47bdd2267f1a88fa5e0314daf /lib/libssl/ssl.h
parentc0a40d85b27d22d8ad7dce0144e592228d717b06 (diff)
Provide SSL_SESSION_get_protocol_version()
ok jsing
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r--lib/libssl/ssl.h3
1 files changed, 2 insertions, 1 deletions
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);