[openssl/openssl] 5a4ba7: Give BIO_s_mem() the ability to support datagrams

Matt Caswell noreply at github.com
Thu Jul 28 07:09:59 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 5a4ba72f00f9b336a4d65abff822699ceb9617c6
      https://github.com/openssl/openssl/commit/5a4ba72f00f9b336a4d65abff822699ceb9617c6
  Author: Matt Caswell <matt at openssl.org>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M crypto/bio/bss_mem.c
    M include/openssl/bio.h.in
    M util/libcrypto.num

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18596)


  Commit: 3bfc58ad6f150e343c75565e2b162b80ec39a28d
      https://github.com/openssl/openssl/commit/3bfc58ad6f150e343c75565e2b162b80ec39a28d
  Author: Matt Caswell <matt at openssl.org>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M test/build.info
    A test/membio_test.c
    A test/recipes/04-test_membio.t

  Log Message:
  -----------
  Add a test for BIO_s_mem() when using datagrams

The previous commit added support to BIO_s_mem() for using datagrams. We
now add tests for that functionality.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18596)


  Commit: ce602bb0a20589e5a84c48a55ce13219ab881e84
      https://github.com/openssl/openssl/commit/ce602bb0a20589e5a84c48a55ce13219ab881e84
  Author: Matt Caswell <matt at openssl.org>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M CHANGES.md
    M doc/man3/BIO_s_mem.pod

  Log Message:
  -----------
  Add some documentation for the BIO_s_mem() datagram capability

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18596)


Compare: https://github.com/openssl/openssl/compare/08c00377cb82...ce602bb0a205


More information about the openssl-commits mailing list