summaryrefslogtreecommitdiff
path: root/regress/lib/libssl/dtls
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2022-10-02 16:38:24 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2022-10-02 16:38:24 +0000
commit2bde9996b22bcc7fa0eb6a491c5f3de4a72d2e8c (patch)
tree7691b880165512b648bf33de58d0b1f045d228dc /regress/lib/libssl/dtls
parent121f4d5e6cd8260daf18468d86d19d058e3092af (diff)
Revise for SSL_CTX_INTERNAL and SSL_INTERNAL removal.
Diffstat (limited to 'regress/lib/libssl/dtls')
-rw-r--r--regress/lib/libssl/dtls/dtlstest.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/regress/lib/libssl/dtls/dtlstest.c b/regress/lib/libssl/dtls/dtlstest.c
index 18df9952b2b..3819039f82b 100644
--- a/regress/lib/libssl/dtls/dtlstest.c
+++ b/regress/lib/libssl/dtls/dtlstest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dtlstest.c,v 1.15 2022/01/07 09:07:00 tb Exp $ */
+/* $OpenBSD: dtlstest.c,v 1.16 2022/10/02 16:38:23 jsing Exp $ */
/*
* Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org>
*
@@ -972,10 +972,8 @@ dtlstest(const struct dtls_test *dt)
if ((server = dtls_server(server_sock, dt->ssl_options, dt->mtu)) == NULL)
goto failure;
- tls12_record_layer_set_initial_epoch(client->internal->rl,
- dt->initial_epoch);
- tls12_record_layer_set_initial_epoch(server->internal->rl,
- dt->initial_epoch);
+ tls12_record_layer_set_initial_epoch(client->rl, dt->initial_epoch);
+ tls12_record_layer_set_initial_epoch(server->rl, dt->initial_epoch);
if (dt->client_bbio_off)
SSL_set_info_callback(client, dtls_info_callback);