Switch to rust-openssl

This commit is contained in:
Steven Fackler 2013-12-28 19:10:05 -07:00
parent e6c6c32027
commit 8634e61e4f
3 changed files with 5 additions and 5 deletions

View File

@ -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
View File

@ -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;

View File

@ -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;