diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2017-01-23 05:27:23 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2017-01-23 05:27:23 +0000 |
commit | 55a88ae4474eb17798999076a924b9e4978d1063 (patch) | |
tree | cdebe2e2584a4e2947cc8914aa72b6588cb0100b /lib/libssl/ssl_locl.h | |
parent | 6ff43ed96a0ad204c11369d344e78df83a239b59 (diff) |
Move ex_data, next and prev from SSL_SESSION to internal.
ok beck@
Diffstat (limited to 'lib/libssl/ssl_locl.h')
-rw-r--r-- | lib/libssl/ssl_locl.h | 8 |
1 files changed, 7 insertions, 1 deletions
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. */ |