Skip to content

Commit

Permalink
feat: Turn on TLS greasing
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 19, 2024
1 parent 32ef2c3 commit b1f0935
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions neqo-crypto/src/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,7 @@ impl SecretAgent {
self.set_option(ssl::Opt::Locking, false)?;
self.set_option(ssl::Opt::Tickets, false)?;
self.set_option(ssl::Opt::OcspStapling, true)?;
if let Err(e) = self.set_option(ssl::Opt::Grease, grease) {
// Until NSS supports greasing, it's OK to fail here.
qinfo!([self], "Failed to enable greasing {:?}", e);
}
self.set_option(ssl::Opt::Grease, grease)?;
Ok(())
}

Expand Down

0 comments on commit b1f0935

Please sign in to comment.