summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-10-23 13:36:04 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-10-23 13:36:04 +0000
commit7e17f6809f6376f11b05d5fe9fae25ee43430b27 (patch)
treede6a82d09ff48c8ca0739f44508ba916e9c05ffb /lib/libssl/ssl_lib.c
parentb80db4e0ec9e2a6acc6039e4bb5de5cdf20b73f7 (diff)
Fold DTLS1_STATE_INTERNAL into DTLS1_STATE.
Now that DTLS1_STATE is opaque, fold DTLS1_STATE_INTERNAL back into DTLS1_STATE and remove D1I() usage. ok tb@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r--lib/libssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index cb8c02844c9..df025997397 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.269 2021/10/23 11:41:52 beck Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.270 2021/10/23 13:36:03 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1178,7 +1178,7 @@ SSL_ctrl(SSL *s, int cmd, long larg, void *parg)
return (0);
#endif
if (SSL_is_dtls(s)) {
- D1I(s)->mtu = larg;
+ s->d1->mtu = larg;
return (larg);
}
return (0);