diff options
author | beck <> | 2020-01-23 06:15:44 +0000 |
---|---|---|
committer | beck <> | 2020-01-23 06:15:44 +0000 |
commit | 932b432c3b9e9c407ff00712d9587cdd1bdfd76a (patch) | |
tree | ffc60c78456130825a15045a1cef8731c2786b40 /src/lib/libssl/ssl_locl.h | |
parent | dfacc34b5531758fbd9129e03771aa661e80e93e (diff) | |
download | openbsd-932b432c3b9e9c407ff00712d9587cdd1bdfd76a.tar.gz openbsd-932b432c3b9e9c407ff00712d9587cdd1bdfd76a.tar.bz2 openbsd-932b432c3b9e9c407ff00712d9587cdd1bdfd76a.zip |
Save the legacy session id in the client, and enforce that it is returned
the same from the server.
ok jsing@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 8649f651fa..2c774a3d77 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.253 2020/01/23 03:17:40 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.254 2020/01/23 06:15:44 beck 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 | * |
@@ -469,6 +469,10 @@ typedef struct ssl_handshake_tls13_st { | |||
469 | /* Preserved transcript hash. */ | 469 | /* Preserved transcript hash. */ |
470 | uint8_t transcript_hash[EVP_MAX_MD_SIZE]; | 470 | uint8_t transcript_hash[EVP_MAX_MD_SIZE]; |
471 | size_t transcript_hash_len; | 471 | size_t transcript_hash_len; |
472 | |||
473 | /* Legacy session ID. */ | ||
474 | uint8_t legacy_session_id[SSL_MAX_SSL_SESSION_ID_LENGTH]; | ||
475 | size_t legacy_session_id_len; | ||
472 | } SSL_HANDSHAKE_TLS13; | 476 | } SSL_HANDSHAKE_TLS13; |
473 | 477 | ||
474 | typedef struct ssl_ctx_internal_st { | 478 | typedef struct ssl_ctx_internal_st { |