diff --git a/quiche/src/lib.rs b/quiche/src/lib.rs index e9f3c70e89..daad5e5f65 100644 --- a/quiche/src/lib.rs +++ b/quiche/src/lib.rs @@ -9539,7 +9539,7 @@ mod tests { // add it to its destination connection ID (DCID) list. let _ = pipe .client - .new_source_cid(&client_source_cid, client_source_token, true) + .new_scid(&client_source_cid, client_source_token, true) .unwrap(); // Forward the NEW_CONNECTION_ID Frame generated above over the pipe @@ -9563,6 +9563,7 @@ mod tests { 1, preferred_address_params.stateless_reset_token, 0, + &mut SmallVec::new(), ) .unwrap(); @@ -9681,14 +9682,14 @@ mod tests { // add it to its destination connection ID (DCID) list. let _ = pipe .server - .new_source_cid(&server_source_cid_2, server_source_token_2, true) + .new_scid(&server_source_cid_2, server_source_token_2, true) .unwrap(); // Notify the client of its new source connection ID (SCID), this also // advertises the ID to the server The server will automatically // add it to its destination connection ID (DCID) list. let _ = pipe .client - .new_source_cid(&client_source_cid_2, client_source_token_2, true) + .new_scid(&client_source_cid_2, client_source_token_2, true) .unwrap(); // Forward the NEW_CONNECTION_ID Frames generated above over the pipe