Implement a public BIO_ADDR_copy() function
authorMatt Caswell <matt@openssl.org>
Thu, 21 Sep 2023 10:59:58 +0000 (11:59 +0100)
committerPauli <pauli@openssl.org>
Sun, 24 Sep 2023 21:46:45 +0000 (07:46 +1000)
commita18c9f80916134bd7122cc1ba204bb5cdca752a3
treeda986fec6d29e13a89e454454150f86099b293e7
parent442d08f215c48896f59e9c09a14773058f9e56bf
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@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22164)
crypto/bio/bio_addr.c
include/openssl/bio.h.in
util/libcrypto.num