diff options
author | John Baldwin <jhb@FreeBSD.org> | 2019-11-19 14:12:56 -0800 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2020-03-16 10:41:51 +0100 |
commit | b1f79e7ce54afc28bfb5dfcfdd379782ed501b0a (patch) | |
tree | cb508795d111211912bb91cfaef00e76debd2952 /ssl | |
parent | fda127beb2b3c029741573b0dd931295b3446fd2 (diff) |
Support KTLS on connections using BIO_TYPE_CONNECT.
This requires duplicating the KTLS changes from bss_sock.c in
bss_conn.c. One difference from BIO_TYPE_SOCKET is that the call to
ktls_enable is performed after the socket is created in BIO_socket
rather than BIO_new_connect.
Some applications such as 'openssl s_time' use connect BIOs instead of
socket BIOs. Note that the new connections created for accept BIOs
use BIO_TYPE_SOCKET via BIO_new_socket, so bss_acpt.c does not require
changes.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10489)
Diffstat (limited to 'ssl')
0 files changed, 0 insertions, 0 deletions