Fix the socket BIO control methods to use ktls_crypto_info_t.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 1 Sep 2020 00:02:01 +0000 (17:02 -0700)
committerBenjamin Kaduk <bkaduk@akamai.com>
Sun, 6 Sep 2020 03:11:50 +0000 (20:11 -0700)
commit4b09e19216d5e889b85593dbf45b78a874426d8a
treee7cc169f2b6fd71b5417a689e82a79cd14ac3079
parent076bf8c2c972d01a70ca4146e637dfbe6f35b2fb
Fix the socket BIO control methods to use ktls_crypto_info_t.

This is mostly a cosmetic cleanup I missed when adding the
ktls_crypto_info_t type.  However, while fixing this I noticed that
the changes to extract the size from crypto_info from the wrapper
structure for Linux KTLS had not been propagated from bss_sock.c to
bss_conn.c, so I've fixed that to use the correct length.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/12782)
crypto/bio/bss_conn.c
crypto/bio/bss_sock.c