summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorbeck <>2019-01-24 02:56:41 +0000
committerbeck <>2019-01-24 02:56:41 +0000
commit10e3b663a1750bc234861ed33ad78e8088b5cb47 (patch)
treeeaf3f613ad96dff5f56e2d992bfb0ad1b7457dac /src/lib/libssl/ssl_locl.h
parent354172b127820c0f48cb417d4d46746e2122f87b (diff)
downloadopenbsd-10e3b663a1750bc234861ed33ad78e8088b5cb47.tar.gz
openbsd-10e3b663a1750bc234861ed33ad78e8088b5cb47.tar.bz2
openbsd-10e3b663a1750bc234861ed33ad78e8088b5cb47.zip
Add server side of versions, keyshare, and client and server of cookie
extensions for tls1.3. versions is currently defanged to ignore its result until tls13 server side wired in full, so that server side code still works today when we only support tls 1.2 ok bcook@ tb@ jsing@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 5d560f5935..90aca26625 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.232 2019/01/24 01:50:41 beck Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.233 2019/01/24 02:56:41 beck 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 *
@@ -448,6 +448,9 @@ typedef struct ssl_handshake_tls13_st {
448 uint8_t *x25519_peer_public; 448 uint8_t *x25519_peer_public;
449 449
450 struct tls13_secrets *secrets; 450 struct tls13_secrets *secrets;
451
452 uint8_t *cookie;
453 size_t cookie_len;
451} SSL_HANDSHAKE_TLS13; 454} SSL_HANDSHAKE_TLS13;
452 455
453typedef struct ssl_ctx_internal_st { 456typedef struct ssl_ctx_internal_st {