diff options
| author | jsing <> | 2017-01-23 01:22:08 +0000 |
|---|---|---|
| committer | jsing <> | 2017-01-23 01:22:08 +0000 |
| commit | 8c3e82ca039c1de2d07ceb9033058fc6bb5791a2 (patch) | |
| tree | 0516913107a84da915d173ba7ce7df2e5e964a93 /src/lib/libssl/ssl_locl.h | |
| parent | d7518764eb9d1799e2ed6df6586b98e012bf423d (diff) | |
| download | openbsd-8c3e82ca039c1de2d07ceb9033058fc6bb5791a2.tar.gz openbsd-8c3e82ca039c1de2d07ceb9033058fc6bb5791a2.tar.bz2 openbsd-8c3e82ca039c1de2d07ceb9033058fc6bb5791a2.zip | |
Move not_resumable and sess_cert 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 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 3f63b1de2f..2eace2567d 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.152 2017/01/23 00:12:55 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.153 2017/01/23 01:22:08 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,14 @@ __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 | /* Used to indicate that session resumption is not allowed. | ||
| 377 | * Applications can also set this bit for a new session via | ||
| 378 | * not_resumable_session_cb to disable session caching and tickets. */ | ||
| 379 | int not_resumable; | ||
| 380 | |||
| 381 | /* The cert is the certificate used to establish this connection */ | ||
| 382 | struct sess_cert_st /* SESS_CERT */ *sess_cert; | ||
| 383 | |||
| 376 | size_t tlsext_ecpointformatlist_length; | 384 | size_t tlsext_ecpointformatlist_length; |
| 377 | uint8_t *tlsext_ecpointformatlist; /* peer's list */ | 385 | uint8_t *tlsext_ecpointformatlist; /* peer's list */ |
| 378 | size_t tlsext_ellipticcurvelist_length; | 386 | size_t tlsext_ellipticcurvelist_length; |
