summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-08-23 08:19:01 +0100
committerMatt Caswell <matt@openssl.org>2023-08-24 11:47:57 +0100
commitce7a9e23fb1ea249e08c3dfa9c9f701a701f2719 (patch)
tree2bfc51315a0e5cec654d11e64e2759f094830bbd /apps
parentf430713c8c5e579b513ffa16133b8c178978c5b6 (diff)
QUIC: Rename SSL_set_initial_peer_addr to SSL_set1_initial_peer_addr
Fixes #21701 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21814)
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index a6c5a559a9..5577a9e903 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -2252,7 +2252,7 @@ int s_client_main(int argc, char **argv)
#ifndef OPENSSL_NO_QUIC
if (isquic) {
sbio = BIO_new_dgram(sock, BIO_NOCLOSE);
- if (!SSL_set_initial_peer_addr(con, peer_addr)) {
+ if (!SSL_set1_initial_peer_addr(con, peer_addr)) {
BIO_printf(bio_err, "Failed to set the initial peer address\n");
goto shut;
}