mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
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:
parent
7a5f58b2cf
commit
dac42bdce1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user