From 55a88ae4474eb17798999076a924b9e4978d1063 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Mon, 23 Jan 2017 05:27:23 +0000 Subject: Move ex_data, next and prev from SSL_SESSION to internal. ok beck@ --- lib/libssl/ssl_locl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/libssl/ssl_locl.h') diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h index 83ffb1103f1..9ea22bac059 100644 --- a/lib/libssl/ssl_locl.h +++ b/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.156 2017/01/23 05:13:02 jsing Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.157 2017/01/23 05:27:22 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -373,6 +373,12 @@ __BEGIN_HIDDEN_DECLS #define NAMED_CURVE_TYPE 3 typedef struct ssl_session_internal_st { + CRYPTO_EX_DATA ex_data; /* application specific data */ + + /* These are used to make removal of session-ids more + * efficient and to implement a maximum cache size. */ + struct ssl_session_st *prev, *next; + /* Used to indicate that session resumption is not allowed. * Applications can also set this bit for a new session via * not_resumable_session_cb to disable session caching and tickets. */ -- cgit v1.2.3