Give BIO_s_mem() the ability to support datagrams
authorMatt Caswell <matt@openssl.org>
Thu, 16 Jun 2022 15:08:37 +0000 (16:08 +0100)
committerHugo Landau <hlandau@openssl.org>
Thu, 28 Jul 2022 07:06:52 +0000 (08:06 +0100)
commit5a4ba72f00f9b336a4d65abff822699ceb9617c6
tree0182c29aa292abc6a13a70ab8b86a615dda05d40
parent08c00377cb82f7eefcf7433606e687f348b9e7a0
Give BIO_s_mem() the ability to support datagrams

We introduce a new BIO ctrl that switches a BIO_s_mem() into datagram
mode. Packet boundaries are respected.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18596)
crypto/bio/bss_mem.c
include/openssl/bio.h.in
util/libcrypto.num