if (!TEST_ptr_null(c_tgt))
goto out; /* don't overwrite existing stream with same name */
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
if (!TEST_ptr(c_stream = ossl_quic_detach_stream(h->c_conn)))
goto out;
if (!TEST_ptr(c_tgt))
goto out;
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
if (!TEST_true(ossl_quic_attach_stream(h->c_conn, c_tgt)))
goto out;
if (!TEST_ptr_null(c_tgt))
goto out; /* don't overwrite existing stream with same name */
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
if (op->arg1 != 0)
flags |= SSL_STREAM_FLAG_UNI;
if (!TEST_uint64_t_eq(s_stream_id, UINT64_MAX))
goto out; /* don't overwrite existing stream with same name */
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
if (!TEST_true(ossl_quic_tserver_stream_new(h->s,
op->arg1 > 0,
&stream_id)))
if (!TEST_ptr_null(c_tgt))
goto out; /* don't overwrite existing stream with same name */
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
if ((c_stream = SSL_accept_stream(h->c_conn, 0)) == NULL)
SPIN_AGAIN();
if (!TEST_uint64_t_eq(s_stream_id, UINT64_MAX))
goto out;
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
new_stream_id = ossl_quic_tserver_pop_incoming_stream(h->s);
if (new_stream_id == UINT64_MAX)
SPIN_AGAIN();
|| !TEST_true(!SSL_is_connection(c_tgt)))
goto out;
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
if (!TEST_true(helper_local_set_c_stream(&hl, op->stream_name, NULL)))
goto out;
if (!TEST_uint64_t_eq(s_stream_id, UINT64_MAX))
goto out;
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
if (!TEST_true(helper_set_s_stream(h, op->stream_name, op->arg2)))
goto out;
}
if (!TEST_uint64_t_ne(s_stream_id, UINT64_MAX))
goto out;
+ if (!TEST_ptr(op->stream_name))
+ goto out;
+
if (!TEST_true(helper_set_s_stream(h, op->stream_name, UINT64_MAX)))
goto out;
}