summaryrefslogtreecommitdiff
path: root/openssl/src/ssl/connector.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@palantir.com>2017-09-15 22:31:03 -0400
committerSteven Fackler <sfackler@palantir.com>2017-09-15 22:31:03 -0400
commit9bd64edc08ad6598289ea808c75e996c103840ec (patch)
tree22df50549cf6573140483a77462c7168843e2edd /openssl/src/ssl/connector.rs
parentbfce446ae80e38499827792d368d2e8196395829 (diff)
downloadrust-openssl-9bd64edc08ad6598289ea808c75e996c103840ec.zip
Fix indentation
Diffstat (limited to 'openssl/src/ssl/connector.rs')
-rw-r--r--openssl/src/ssl/connector.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/openssl/src/ssl/connector.rs b/openssl/src/ssl/connector.rs
index 4e807b88..24d938fb 100644
--- a/openssl/src/ssl/connector.rs
+++ b/openssl/src/ssl/connector.rs
@@ -68,9 +68,8 @@ impl SslConnectorBuilder {
try!(ctx.set_default_verify_paths());
// From https://github.com/python/cpython/blob/c30098c8c6014f3340a369a31df9c74bdbacc269/Lib/ssl.py#L191
try!(ctx.set_cipher_list(
- "ECDH+AESGCM:ECDH+CHACHA20:DH+AESGCM:DH+CHACHA20:ECDH+AES256:\
- DH+AES256:ECDH+AES128:DH+AES:ECDH+HIGH:DH+HIGH:RSA+AESGCM:\
- RSA+AES:RSA+HIGH:!aNULL:!eNULL:!MD5:!3DES",
+ "ECDH+AESGCM:ECDH+CHACHA20:DH+AESGCM:DH+CHACHA20:ECDH+AES256:DH+AES256:ECDH+AES128:\
+ DH+AES:ECDH+HIGH:DH+HIGH:RSA+AESGCM:RSA+AES:RSA+HIGH:!aNULL:!eNULL:!MD5:!3DES",
));
setup_verify(&mut ctx);