diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-05-09 11:35:16 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-12 14:47:15 +0100 |
commit | de521629c1f296a6eb50a84ab2d2b200fc766bc6 (patch) | |
tree | 64effbd0fa8592a07cf7a322623c49697ab0c18f /test | |
parent | 5da3e02c5eaac2bec9c14165d62874b1232213fe (diff) | |
download | openssl-new-de521629c1f296a6eb50a84ab2d2b200fc766bc6.tar.gz |
QUIC APL: De-publicise SSL_attach_stream/SSL_detach_stream
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'test')
-rw-r--r-- | test/quic_multistream_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index dbfdde0f4c..2fd8a2235f 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -11,6 +11,7 @@ #include <openssl/bio.h> #include <openssl/lhash.h> #include "internal/quic_tserver.h" +#include "internal/quic_ssl.h" #include "testutil.h" static const char *certfile, *keyfile; @@ -715,7 +716,7 @@ static int run_script(const struct script_op *script, int free_order) if (!TEST_ptr_null(c_tgt)) goto out; /* don't overwrite existing stream with same name */ - if (!TEST_ptr(c_stream = SSL_detach_stream(h.c_conn))) + if (!TEST_ptr(c_stream = ossl_quic_detach_stream(h.c_conn))) goto out; if (!TEST_true(helper_set_c_stream(&h, op->stream_name, c_stream))) @@ -728,7 +729,7 @@ static int run_script(const struct script_op *script, int free_order) if (!TEST_ptr(c_tgt)) goto out; - if (!TEST_true(SSL_attach_stream(h.c_conn, c_tgt))) + if (!TEST_true(ossl_quic_attach_stream(h.c_conn, c_tgt))) goto out; if (!TEST_true(helper_set_c_stream(&h, op->stream_name, NULL))) |