diff options
author | tb <> | 2022-06-03 13:28:36 +0000 |
---|---|---|
committer | tb <> | 2022-06-03 13:28:36 +0000 |
commit | 889db920b8d9b73a134d31667c5805b67a582f5c (patch) | |
tree | bf42c32bdbcef0b110fcad4a556d01308e726ba9 | |
parent | b728d34dfe365276750c682a222b07f9c1ae13c2 (diff) | |
download | openbsd-889db920b8d9b73a134d31667c5805b67a582f5c.tar.gz openbsd-889db920b8d9b73a134d31667c5805b67a582f5c.tar.bz2 openbsd-889db920b8d9b73a134d31667c5805b67a582f5c.zip |
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
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.388 2022/03/17 17:22:16 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.389 2022/06/03 13:28:36 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -548,6 +548,9 @@ typedef struct ssl_handshake_tls13_st { | |||
548 | int use_legacy; | 548 | int use_legacy; |
549 | int hrr; | 549 | int hrr; |
550 | 550 | ||
551 | /* Client indicates psk_dhe_ke support in PskKeyExchangeMode. */ | ||
552 | int use_psk_dhe_ke; | ||
553 | |||
551 | /* Certificate selected for use (static pointer). */ | 554 | /* Certificate selected for use (static pointer). */ |
552 | const SSL_CERT_PKEY *cpk; | 555 | const SSL_CERT_PKEY *cpk; |
553 | 556 | ||