summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-06-16 16:08:37 +0100
committerHugo Landau <hlandau@openssl.org>2022-07-28 08:06:52 +0100
commit5a4ba72f00f9b336a4d65abff822699ceb9617c6 (patch)
tree0182c29aa292abc6a13a70ab8b86a615dda05d40 /include
parent08c00377cb82f7eefcf7433606e687f348b9e7a0 (diff)
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)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/bio.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/bio.h.in b/include/openssl/bio.h.in
index 46697ce3d7..1de1790ba7 100644
--- a/include/openssl/bio.h.in
+++ b/include/openssl/bio.h.in
@@ -649,6 +649,7 @@ int BIO_nwrite0(BIO *bio, char **buf);
int BIO_nwrite(BIO *bio, char **buf, int num);
const BIO_METHOD *BIO_s_mem(void);
+const BIO_METHOD *BIO_s_dgram_mem(void);
const BIO_METHOD *BIO_s_secmem(void);
BIO *BIO_new_mem_buf(const void *buf, int len);
# ifndef OPENSSL_NO_SOCK