Skip to content

Commit

Permalink
fixing ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
godmodegalactus committed Nov 29, 2024
1 parent 84d099d commit 350685d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion blocking_client/src/quiche_client_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use std::{
net::SocketAddr,
sync::{atomic::AtomicBool, Arc},
time::{Duration, Instant},
u64,
};

use log::{debug, error, info, trace};
Expand Down
5 changes: 1 addition & 4 deletions server/src/quiche_server_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,13 +404,10 @@ pub fn server_loop(
}
};
log::trace!("got packet {:?}", hdr);
let conn_id = if !cfg!(feature = "fuzzing") {
let conn_id = {
let conn_id = ring::hmac::sign(&conn_id_seed, &hdr.dcid);
let conn_id = &conn_id.as_ref()[..quiche::MAX_CONN_ID_LEN];
conn_id.to_vec().into()
} else {
// When fuzzing use an all zero connection ID.
[0; quiche::MAX_CONN_ID_LEN].to_vec().into()
};

// Lookup a connection based on the packet's connection ID. If there
Expand Down

0 comments on commit 350685d

Please sign in to comment.