summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libssl/tls13_client.c4
-rw-r--r--lib/libssl/tls13_server.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/tls13_client.c b/lib/libssl/tls13_client.c
index 1c9debc4e5f..078730111ac 100644
--- a/lib/libssl/tls13_client.c
+++ b/lib/libssl/tls13_client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_client.c,v 1.45 2020/02/23 17:51:36 tb Exp $ */
+/* $OpenBSD: tls13_client.c,v 1.46 2020/03/10 17:23:25 jsing Exp $ */
/*
* Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org>
*
@@ -471,7 +471,7 @@ tls13_client_engage_record_protection(struct tls13_ctx *ctx)
if ((secrets = tls13_secrets_create(ctx->hash, 0)) == NULL)
goto err;
- S3I(ctx->ssl)->hs_tls13.secrets = secrets;
+ ctx->hs->secrets = secrets;
/* XXX - pass in hash. */
if (!tls1_transcript_hash_init(s))
diff --git a/lib/libssl/tls13_server.c b/lib/libssl/tls13_server.c
index edffd452390..3b170f93702 100644
--- a/lib/libssl/tls13_server.c
+++ b/lib/libssl/tls13_server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_server.c,v 1.27 2020/03/10 17:15:02 jsing Exp $ */
+/* $OpenBSD: tls13_server.c,v 1.28 2020/03/10 17:23:25 jsing Exp $ */
/*
* Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2020 Bob Beck <beck@openbsd.org>
@@ -561,7 +561,7 @@ tls13_server_hello_sent(struct tls13_ctx *ctx)
if ((secrets = tls13_secrets_create(ctx->hash, 0)) == NULL)
goto err;
- S3I(ctx->ssl)->hs_tls13.secrets = secrets;
+ ctx->hs->secrets = secrets;
/* XXX - pass in hash. */
if (!tls1_transcript_hash_init(s))