[openssl/openssl] a18c9f: Implement a public BIO_ADDR_copy() function

Matt Caswell noreply at github.com
Sun Sep 24 21:49:26 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: a18c9f80916134bd7122cc1ba204bb5cdca752a3
      https://github.com/openssl/openssl/commit/a18c9f80916134bd7122cc1ba204bb5cdca752a3
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

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

  Log Message:
  -----------
  Implement a public BIO_ADDR_copy() function

We already have BIO_ADDR_dup() but in some contexts that is not sufficent.
We implement BIO_ADDR_copy() and make BIO_ADDR_dup() use it.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22164)


  Commit: e55843ab50acde02cac8821d4552db9cba2d2e14
      https://github.com/openssl/openssl/commit/e55843ab50acde02cac8821d4552db9cba2d2e14
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M doc/man3/BIO_ADDR.pod

  Log Message:
  -----------
  Add documentation for the BIO_ADDR_copy() function

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22164)


  Commit: d058ae6e0397faaa60c18c6ae3aecaff64dca47b
      https://github.com/openssl/openssl/commit/d058ae6e0397faaa60c18c6ae3aecaff64dca47b
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M test/helpers/quictestlib.c
    M test/helpers/quictestlib.h

  Log Message:
  -----------
  Clean away the test code implementation of bio_addr_copy

We now have a public function for BIO_ADDR_copy() which can be used in
preference to the test code's private implementation.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22164)


  Commit: 30224a248495ad604a06b8977fa3aa1cc75b9d0d
      https://github.com/openssl/openssl/commit/30224a248495ad604a06b8977fa3aa1cc75b9d0d
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    A test/bio_addr_test.c
    M test/build.info
    A test/recipes/61-test_bio_addr.t

  Log Message:
  -----------
  Add a test for BIO_ADDR_copy()

We also add a test for BIO_ADDR_dup() which was also added in 3.2

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22164)


Compare: https://github.com/openssl/openssl/compare/442d08f215c4...30224a248495


More information about the openssl-commits mailing list