Fix a bad merge in quic-multi-stream.c demo

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)
This commit is contained in:
Matt Caswell 2023-08-25 12:04:04 +01:00 committed by Tomas Mraz
parent 7a5f58b2cf
commit dac42bdce1

View 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;
}