From b1f09350bcbdfd22062403a8ae8e3eb1fb2143f5 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Tue, 19 Mar 2024 14:07:13 +1000 Subject: [PATCH] feat: Turn on TLS greasing Fixes #1391 Needs #1739 --- neqo-crypto/src/agent.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/neqo-crypto/src/agent.rs b/neqo-crypto/src/agent.rs index 82a6dacd48..fad535b449 100644 --- a/neqo-crypto/src/agent.rs +++ b/neqo-crypto/src/agent.rs @@ -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(()) }