]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix a bad merge in quic-multi-stream.c demo
authorMatt Caswell <matt@openssl.org>
Fri, 25 Aug 2023 11:04:04 +0000 (12:04 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 28 Aug 2023 07:58:20 +0000 (09:58 +0200)
The function SSL_set_initial_peer_addr() got renamed to
SSL_set1_initial_peer_addr(). The demo missed out on the rename when it
got rebased on top of it.

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

demos/guide/quic-multi-stream.c

index 86dc6e3502c1c6a8f34904c0d20ecdadc4bd8455..5b7c8581eb7b9acd09f7c0684e6d528f76da378b 100644 (file)
@@ -215,7 +215,7 @@ int main(void)
     }
 
     /* Set the IP address of the remote peer */
-    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;
     }