Pass SSL pointer to tls13_ctx_new().
authorjsing <jsing@openbsd.org>
Sun, 17 Jul 2022 15:49:20 +0000 (15:49 +0000)
committerjsing <jsing@openbsd.org>
Sun, 17 Jul 2022 15:49:20 +0000 (15:49 +0000)
commit6a3d21ee5897c9a30ee70d2761440d723f0d4fa4
tree5eb1c01afda9981905932e6245a3a997540b17ec
parent42c3ded179a12f64cb522ee977bcb200c7b35936
Pass SSL pointer to tls13_ctx_new().

struct tls13_ctx already knows about SSL's and this way tls13_ctx_new() can
set up various pointers, rather than duplicating this in
tls13_legacy_accept() and tls13_legacy_connect().

ok tb@
lib/libssl/tls13_internal.h
lib/libssl/tls13_legacy.c
lib/libssl/tls13_lib.c