aboutsummaryrefslogtreecommitdiffstats
path: root/demos
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 /demos
parentf430713c8c5e579b513ffa16133b8c178978c5b6 (diff)
downloadopenssl-ce7a9e23fb1ea249e08c3dfa9c9f701a701f2719.tar.gz
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 'demos')
-rw-r--r--demos/guide/quic-client-block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/guide/quic-client-block.c b/demos/guide/quic-client-block.c
index 54d6a0bf37..cbe6deb7c1 100644
--- a/demos/guide/quic-client-block.c
+++ b/demos/guide/quic-client-block.c
@@ -202,7 +202,7 @@ int main(void)
goto end;
}
- if (!SSL_set_initial_peer_addr(ssl, peer_addr)) {
+ if (!SSL_set1_initial_peer_addr(ssl, peer_addr)) {
printf("Failed to set the initial peer address\n");
goto end;
}