Commit 6977e9e8 authored by Steven Fackler's avatar Steven Fackler
Browse files

Don't special case 1.0.1

It appears that 1.0.1's defaults are actually okay.
parent 7192a529
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -7,13 +7,6 @@ use ssl::{HandshakeError, Ssl, SslContext, SslContextBuilder, SslMethod, SslMode
          SslRef, SslStream, SslVerifyMode};
use version;

// From https://github.com/python/cpython/blob/a170fa162dc03f0a014373349e548954fff2e567/Lib/ssl.py#L193
#[cfg(ossl101)]
const CLIENT_CIPHERS: &'static str =
    "ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+HIGH:DH+HIGH:RSA+AESGCM:\
     RSA+AES:RSA+HIGH:!aNULL:!eNULL:!MD5:!3DES";
// From https://github.com/python/cpython/blob/892d66e422d5367673163d62ba40cd70a37d5cf7/Modules/_ssl.c#L254
#[cfg(not(ossl101))]
const CLIENT_CIPHERS: &'static str =
    "DEFAULT:!aNULL:!eNULL:!MD5:!3DES:!DES:!RC4:!IDEA:!SEED:!aDSS:!SRP:!PSK";