Allocate and free the EVP_AEAD_CTX struct in tls13_record_protection.
authorjsing <jsing@openbsd.org>
Thu, 6 Jan 2022 18:18:13 +0000 (18:18 +0000)
committerjsing <jsing@openbsd.org>
Thu, 6 Jan 2022 18:18:13 +0000 (18:18 +0000)
commit9115c013a940c9fd229f5f3e680aa67f602859ba
tree72cb08ee3e00cdea44902adebcc61037c533ab77
parent651b53fac85fdb9db526d13dadb9a8fadfe7cdd1
Allocate and free the EVP_AEAD_CTX struct in tls13_record_protection.

This brings the code more in line with the tls12_record_layer and reduces
the effort needed to make EVP_AEAD_CTX opaque.

Prompted by and ok tb@
lib/libssl/tls13_record_layer.c