summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 47c90fb39d..c24c729bb2 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.141 2018/02/20 18:07:11 tb Exp $ */ 1/* $OpenBSD: ssl.h,v 1.142 2018/02/22 17:25:18 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1290,12 +1290,13 @@ int SSL_SESSION_set1_id_context(SSL_SESSION *s,
1290 const unsigned char *sid_ctx, unsigned int sid_ctx_len); 1290 const unsigned char *sid_ctx, unsigned int sid_ctx_len);
1291 1291
1292SSL_SESSION *SSL_SESSION_new(void); 1292SSL_SESSION *SSL_SESSION_new(void);
1293void SSL_SESSION_free(SSL_SESSION *ses);
1294int SSL_SESSION_up_ref(SSL_SESSION *ss);
1293const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, 1295const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s,
1294 unsigned int *len); 1296 unsigned int *len);
1295unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s); 1297unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s);
1296int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses); 1298int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses);
1297int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses); 1299int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses);
1298void SSL_SESSION_free(SSL_SESSION *ses);
1299int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); 1300int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);
1300int SSL_set_session(SSL *to, SSL_SESSION *session); 1301int SSL_set_session(SSL *to, SSL_SESSION *session);
1301int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c); 1302int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);