File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ log = "0.3"
31
31
phf = " 0.7"
32
32
rustc-serialize = " 0.3"
33
33
chrono = { version = " 0.2.14" , optional = true }
34
- openssl = { version = " 0.6" , optional = true }
34
+ openssl = { version = " 0.6.4 " , optional = true }
35
35
serde = { version = " 0.3" , optional = true }
36
36
time = { version = " 0.1.14" , optional = true }
37
37
unix_socket = { version = " >= 0.3, < 0.5" , optional = true }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ impl StreamWrapper for SslStream<Stream> {
18
18
impl NegotiateSsl for SslContext {
19
19
fn negotiate_ssl ( & self , _: & str , stream : Stream )
20
20
-> Result < Box < StreamWrapper > , Box < Error +Send +Sync > > {
21
- let stream = try!( SslStream :: new ( self , stream) ) ;
21
+ let stream = try!( SslStream :: connect ( self , stream) ) ;
22
22
Ok ( Box :: new ( stream) )
23
23
}
24
24
}
You can’t perform that action at this time.
0 commit comments