summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2020-01-23 06:15:45 +0000
committerBob Beck <beck@cvs.openbsd.org>2020-01-23 06:15:45 +0000
commitce3bccdd86deb371a9a72f34c1592bf8e3639a15 (patch)
tree63987cb0d20e6b8e7a77a4eeb6e3f5764d85f326 /lib/libssl/ssl_locl.h
parentf7e21c511e909101e68f46e7e2a0020cba9fafca (diff)
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 'lib/libssl/ssl_locl.h')
-rw-r--r--lib/libssl/ssl_locl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index 8649f651fa8..2c774a3d77c 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.253 2020/01/23 03:17:40 jsing Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.254 2020/01/23 06:15:44 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -469,6 +469,10 @@ typedef struct ssl_handshake_tls13_st {
/* Preserved transcript hash. */
uint8_t transcript_hash[EVP_MAX_MD_SIZE];
size_t transcript_hash_len;
+
+ /* Legacy session ID. */
+ uint8_t legacy_session_id[SSL_MAX_SSL_SESSION_ID_LENGTH];
+ size_t legacy_session_id_len;
} SSL_HANDSHAKE_TLS13;
typedef struct ssl_ctx_internal_st {