From 41c0431214bf0605c7a677a3f6f08f1bfae6e78f Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Fri, 3 Jun 2022 13:28:37 +0000 Subject: Add a use_psk_dhe_ke flag to the TLSv1.3 handshake struct This will be used to indicate client side support for DHE key establishment. ok jsing --- lib/libssl/ssl_locl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h index f0c261b488c..2743d7d3f25 100644 --- a/lib/libssl/ssl_locl.h +++ b/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.388 2022/03/17 17:22:16 jsing Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.389 2022/06/03 13:28:36 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -548,6 +548,9 @@ typedef struct ssl_handshake_tls13_st { int use_legacy; int hrr; + /* Client indicates psk_dhe_ke support in PskKeyExchangeMode. */ + int use_psk_dhe_ke; + /* Certificate selected for use (static pointer). */ const SSL_CERT_PKEY *cpk; -- cgit v1.2.3