Switch to rust-openssl
This commit is contained in:
parent
e6c6c32027
commit
8634e61e4f
2
error.rs
2
error.rs
@ -2,7 +2,7 @@
|
||||
|
||||
use std::hashmap::HashMap;
|
||||
|
||||
use super::ssl::error::SslError;
|
||||
use openssl::ssl::error::SslError;
|
||||
|
||||
macro_rules! make_errors(
|
||||
($($code:pat => $error:ident),+) => (
|
||||
|
4
lib.rs
4
lib.rs
@ -63,12 +63,12 @@ fn main() {
|
||||
#[feature(macro_rules, struct_variant, globs)];
|
||||
|
||||
extern mod extra;
|
||||
extern mod ssl = "github.com/sfackler/rust-ssl";
|
||||
extern mod openssl = "github.com/sfackler/rust-openssl";
|
||||
|
||||
use extra::container::Deque;
|
||||
use extra::ringbuf::RingBuf;
|
||||
use extra::url::{UserInfo, Url};
|
||||
use ssl::{SslStream, SslContext};
|
||||
use openssl::ssl::{SslStream, SslContext};
|
||||
use std::cell::RefCell;
|
||||
use std::io::io_error;
|
||||
use std::io::buffered::BufferedStream;
|
||||
|
4
test.rs
4
test.rs
@ -1,7 +1,7 @@
|
||||
#[feature(struct_variant, macro_rules, globs)];
|
||||
|
||||
extern mod extra;
|
||||
extern mod ssl = "github.com/sfackler/rust-ssl";
|
||||
extern mod openssl = "github.com/sfackler/rust-openssl";
|
||||
|
||||
use extra::comm::DuplexStream;
|
||||
use extra::future::Future;
|
||||
@ -9,7 +9,7 @@ use extra::time;
|
||||
use extra::time::Timespec;
|
||||
use extra::json;
|
||||
use extra::uuid::Uuid;
|
||||
use ssl::{SslContext, Sslv3};
|
||||
use openssl::ssl::{SslContext, Sslv3};
|
||||
use std::f32;
|
||||
use std::f64;
|
||||
use std::hashmap::HashMap;
|
||||
|
Loading…
Reference in New Issue
Block a user