Skip to content
Prev Previous commit
Next Next commit
ssl: invalidate server config after cipher changes
Rebuild cached server configuration after set_ciphers updates the selected suites or Suite B key-exchange groups.

Assisted-by: CodeRabbit

Assisted-by: OpenAI Codex: GPT-5
  • Loading branch information
youknowone committed Sep 4, 2026
commit 8acdf8f09fea484f62085ab4951b9c95bb962237
1 change: 1 addition & 0 deletions crates/stdlib/src/ssl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1489,6 +1489,7 @@ mod _ssl {

*self.selected_ciphers.write() = Some(selected_ciphers);
*self.suite_b_kx_groups.write() = suite_b_kx_groups;
*self.server_config.write() = None;

Ok(())
}
Expand Down
Loading