aboutsummaryrefslogtreecommitdiff
path: root/lib.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2013-11-09 17:27:17 -0800
committerSteven Fackler <[email protected]>2013-11-09 17:32:33 -0800
commit2e168ab820384c543faaa4eabf4004dfc1670851 (patch)
treeaa2e7cb1a524977735ca4acc855889d7902c674b /lib.rs
parentSsl errors may return a stack (diff)
downloadrust-openssl-2e168ab820384c543faaa4eabf4004dfc1670851.tar.xz
rust-openssl-2e168ab820384c543faaa4eabf4004dfc1670851.zip
Update for latest master and fix segfault
Diffstat (limited to 'lib.rs')
-rw-r--r--lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib.rs b/lib.rs
index 2742a48f..4ca8fd10 100644
--- a/lib.rs
+++ b/lib.rs
@@ -9,13 +9,10 @@ use std::unstable::atomics::{AtomicBool, INIT_ATOMIC_BOOL, AtomicInt,
use std::rt::io::{Stream, Reader, Writer, Decorator};
use std::vec;
-use error::{SslError, SslSessionClosed, StreamEof};
+use self::error::{SslError, SslSessionClosed, StreamEof};
pub mod error;
-#[cfg(test)]
-mod tests;
-
mod ffi;
static mut STARTED_INIT: AtomicBool = INIT_ATOMIC_BOOL;