summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-06-03 13:28:37 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-06-03 13:28:37 +0000
commit41c0431214bf0605c7a677a3f6f08f1bfae6e78f (patch)
tree28923502169ac6e3ba7d7eac9fca7c035db6700a /lib
parent6c241bcc25dae8c436c6031f5012de016ed4a145 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_locl.h5
1 files changed, 4 insertions, 1 deletions
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;