diff --git a/simple_https_client/src/lib.rs b/simple_https_client/src/lib.rs index a369b45..e2b3b6f 100644 --- a/simple_https_client/src/lib.rs +++ b/simple_https_client/src/lib.rs @@ -127,17 +127,17 @@ const SHA384_Aes256Gcm_EcdsaSecp256r1Sha256_P256: Algorithms = Algorithms( pub fn ciphersuites() -> Vec { vec![ SHA256_Chacha20Poly1305_RsaPssRsaSha256_X25519, - //SHA256_Chacha20Poly1305_EcdsaSecp256r1Sha256_X25519, - //SHA256_Chacha20Poly1305_EcdsaSecp256r1Sha256_P256, - //SHA256_Chacha20Poly1305_RsaPssRsaSha256_P256, - // SHA256_Aes128Gcm_EcdsaSecp256r1Sha256_P256, - // SHA256_Aes128Gcm_EcdsaSecp256r1Sha256_X25519, - // SHA256_Aes128Gcm_RsaPssRsaSha256_P256, - // SHA256_Aes128Gcm_RsaPssRsaSha256_X25519, - // SHA384_Aes256Gcm_EcdsaSecp256r1Sha256_P256, - // SHA384_Aes256Gcm_EcdsaSecp256r1Sha256_X25519, - // SHA384_Aes256Gcm_RsaPssRsaSha256_P256, - // SHA384_Aes256Gcm_RsaPssRsaSha256_X25519, + SHA256_Chacha20Poly1305_EcdsaSecp256r1Sha256_X25519, + SHA256_Chacha20Poly1305_EcdsaSecp256r1Sha256_P256, + SHA256_Chacha20Poly1305_RsaPssRsaSha256_P256, + SHA256_Aes128Gcm_EcdsaSecp256r1Sha256_P256, + SHA256_Aes128Gcm_EcdsaSecp256r1Sha256_X25519, + SHA256_Aes128Gcm_RsaPssRsaSha256_P256, + SHA256_Aes128Gcm_RsaPssRsaSha256_X25519, + SHA384_Aes256Gcm_EcdsaSecp256r1Sha256_P256, + SHA384_Aes256Gcm_EcdsaSecp256r1Sha256_X25519, + SHA384_Aes256Gcm_RsaPssRsaSha256_P256, + SHA384_Aes256Gcm_RsaPssRsaSha256_X25519, ] } diff --git a/simple_https_client/src/tls13client.rs b/simple_https_client/src/tls13client.rs index f2c95ce..b8e1e22 100644 --- a/simple_https_client/src/tls13client.rs +++ b/simple_https_client/src/tls13client.rs @@ -48,9 +48,8 @@ fn main() -> anyhow::Result<()> { Ok((_, _, response_prefix)) => response_prefix, Err(e) => { // We ignore all errors here for now and keep trying. - eprintln!("tls13connet failed with {}", e); - break; // TODO FIX - //continue; + eprintln!("tls13connect failed with {}", e); + continue; } }; break;