summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2020-02-06 13:14:17 +0000
committerjsing <>2020-02-06 13:14:17 +0000
commit0a603f6ba38c0a87a61171ce8cf9545da70287d4 (patch)
tree5aa99d8ba098449bdeb77a6900567ebca2686f5b /src/lib/libssl/ssl_locl.h
parenteb4895a6c4e6a61a07bc7525508c056ceca15fcf (diff)
downloadopenbsd-0a603f6ba38c0a87a61171ce8cf9545da70287d4.tar.gz
openbsd-0a603f6ba38c0a87a61171ce8cf9545da70287d4.tar.bz2
openbsd-0a603f6ba38c0a87a61171ce8cf9545da70287d4.zip
Correctly handle key share extensions in a hello retry request.
In a hello retry request the server will only send the selected group and not actually provide a key exchange. In this case we need to store the server selected group for further processing. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 7f3e8a63a8..b3f7e9b2a5 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.262 2020/02/05 17:30:30 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.263 2020/02/06 13:14:17 jsing 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 *
@@ -463,6 +463,7 @@ typedef struct ssl_handshake_tls13_st {
463 /* Version proposed by peer server. */ 463 /* Version proposed by peer server. */
464 uint16_t server_version; 464 uint16_t server_version;
465 465
466 uint16_t server_group;
466 struct tls13_key_share *key_share; 467 struct tls13_key_share *key_share;
467 struct tls13_secrets *secrets; 468 struct tls13_secrets *secrets;
468 469