You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent PSK cipher suite downgrade in certificate mode
Certificate-mode contexts (with a private key) could negotiate PSK
suites, skipping Certificate/CertificateVerify and bypassing certificate
authentication. Fix is_cipher_suite_compatible() to reject PSK suites
when a private key is present, and filter PSK suites from
dtls12_cipher_suites() when no PskResolver is configured.
Also fixes pre-existing clippy lints (items_after_test_module in
server.rs, needless_borrows_for_generic_args in kx_group.rs,
redundant_pattern_matching in cross_matrix.rs) and runs cargo fmt.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments