Skip to content

Commit

Permalink
add comment for clarity regarding ciphers selected by ciper constant
Browse files Browse the repository at this point in the history
  • Loading branch information
efer-ms committed Jan 21, 2025
1 parent ea24875 commit 3c041ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crypto/ossl/dtls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ use super::io_buf::IoBuffer;
use super::stream::TlsStream;
use super::CryptoError;

// We restrict cipher suites to those that include ephermeral Diffie-Hellman or ephemeral
// Elliptical Curve Diffie-Hellman AND AES-256 or AES-GCM.
const DTLS_CIPHERS: &str = "ECDHE+AESGCM:DHE+AESGCM:ECDHE+AES256:DHE+AES256";

pub struct OsslDtlsImpl {
Expand Down

0 comments on commit 3c041ac

Please sign in to comment.