summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-03-17 14:47:49 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-03-17 14:47:49 +0000
commit6a01976ec72e0c30caf2a995a4266c0d2b2ed020 (patch)
treedcbba8f94b72cf4c45ce87056346f01deb3dadcb /lib/libssl/ssl.h
parentbf037c1124f1c91fc3b2753a4deb2fa72303dbf5 (diff)
SSL_SESSION_get_protocol_version() takes a const SSL_SESSION *.
Noted by schwarze@ ok jsing@
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r--lib/libssl/ssl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index 206049887de..63577663c8b 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.149 2018/03/17 14:40:45 jsing Exp $ */
+/* $OpenBSD: ssl.h,v 1.150 2018/03/17 14:47:48 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1310,7 +1310,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);
+int SSL_SESSION_get_protocol_version(const 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);