diff options
author | jsing <> | 2017-01-23 05:27:22 +0000 |
---|---|---|
committer | jsing <> | 2017-01-23 05:27:22 +0000 |
commit | 3b1c7c5973d7e6aca42940bd4e07900c35d585f5 (patch) | |
tree | 7b5846ec611e08b428cca0c6a260d563d08705e6 /src/lib/libssl/ssl_locl.h | |
parent | f38881420fba9a207cd725b6a35181faeecf26b9 (diff) | |
download | openbsd-3b1c7c5973d7e6aca42940bd4e07900c35d585f5.tar.gz openbsd-3b1c7c5973d7e6aca42940bd4e07900c35d585f5.tar.bz2 openbsd-3b1c7c5973d7e6aca42940bd4e07900c35d585f5.zip |
Move ex_data, next and prev from SSL_SESSION to internal.
ok beck@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 83ffb1103f..9ea22bac05 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.156 2017/01/23 05:13:02 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.157 2017/01/23 05:27:22 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 | * |
@@ -373,6 +373,12 @@ __BEGIN_HIDDEN_DECLS | |||
373 | #define NAMED_CURVE_TYPE 3 | 373 | #define NAMED_CURVE_TYPE 3 |
374 | 374 | ||
375 | typedef struct ssl_session_internal_st { | 375 | typedef struct ssl_session_internal_st { |
376 | CRYPTO_EX_DATA ex_data; /* application specific data */ | ||
377 | |||
378 | /* These are used to make removal of session-ids more | ||
379 | * efficient and to implement a maximum cache size. */ | ||
380 | struct ssl_session_st *prev, *next; | ||
381 | |||
376 | /* Used to indicate that session resumption is not allowed. | 382 | /* Used to indicate that session resumption is not allowed. |
377 | * Applications can also set this bit for a new session via | 383 | * Applications can also set this bit for a new session via |
378 | * not_resumable_session_cb to disable session caching and tickets. */ | 384 | * not_resumable_session_cb to disable session caching and tickets. */ |