From: tb Date: Fri, 3 Jun 2022 13:28:36 +0000 (+0000) Subject: Add a use_psk_dhe_ke flag to the TLSv1.3 handshake struct X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a5e02c82851625ebda75d4b80040528ff9c20f79;p=openbsd 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 --- 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;