From 889db920b8d9b73a134d31667c5805b67a582f5c Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 3 Jun 2022 13:28:36 +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 --- src/lib/libssl/ssl_locl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index f0c261b488..2743d7d3f2 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/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-55-g6feb