diff options
author | Matt Caswell <matt@openssl.org> | 2023-08-25 12:04:04 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-08-28 09:58:20 +0200 |
commit | dac42bdce1ed19e646c2adf04b27fc92a9d0e374 (patch) | |
tree | a0e70f7682a9fc6ae2556d9b80681f84e1747e9a /demos | |
parent | 7a5f58b2cf0d7b2fa0451603a88c3976c657dae9 (diff) | |
download | openssl-dac42bdce1ed19e646c2adf04b27fc92a9d0e374.zip openssl-dac42bdce1ed19e646c2adf04b27fc92a9d0e374.tar.gz openssl-dac42bdce1ed19e646c2adf04b27fc92a9d0e374.tar.bz2 |
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)
Diffstat (limited to 'demos')
-rw-r--r-- | demos/guide/quic-multi-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/guide/quic-multi-stream.c b/demos/guide/quic-multi-stream.c index 86dc6e3..5b7c858 100644 --- a/demos/guide/quic-multi-stream.c +++ b/demos/guide/quic-multi-stream.c @@ -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; } |