summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_pkt.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2021-03-24 18:40:03 +0000
committerjsing <jsing@openbsd.org>2021-03-24 18:40:03 +0000
commit48b0de1ecd65d8ed698b1f33b26d4371fa34bf53 (patch)
tree8bedc538080d41970f2f1205491d37b958752d97 /lib/libssl/ssl_pkt.c
parentImprove the tap detection mechanism. (diff)
downloadwireguard-openbsd-48b0de1ecd65d8ed698b1f33b26d4371fa34bf53.tar.xz
wireguard-openbsd-48b0de1ecd65d8ed698b1f33b26d4371fa34bf53.zip
Add SSL_HANDSHAKE_TLS12 for TLSv1.2 specific handshake data.
Move TLSv1.2 specific components over from SSL_HANDSHAKE. ok inoguchi@ tb@
Diffstat (limited to 'lib/libssl/ssl_pkt.c')
-rw-r--r--lib/libssl/ssl_pkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_pkt.c b/lib/libssl/ssl_pkt.c
index 5b1af504fb5..37bee9e69f0 100644
--- a/lib/libssl/ssl_pkt.c
+++ b/lib/libssl/ssl_pkt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_pkt.c,v 1.37 2021/03/10 18:27:02 jsing Exp $ */
+/* $OpenBSD: ssl_pkt.c,v 1.38 2021/03/24 18:40:03 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1163,7 +1163,7 @@ ssl3_do_change_cipher_spec(SSL *s)
else
i = SSL3_CHANGE_CIPHER_CLIENT_READ;
- if (S3I(s)->hs.key_block == NULL) {
+ if (S3I(s)->hs.tls12.key_block == NULL) {
if (s->session == NULL || s->session->master_key_length == 0) {
/* might happen if dtls1_read_bytes() calls this */
SSLerror(s, SSL_R_CCS_RECEIVED_EARLY);