aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorValerii Hiora <[email protected]>2014-10-01 20:19:29 +0300
committerValerii Hiora <[email protected]>2014-10-06 07:12:54 +0300
commit72ee42adba18adbb0e6eefd13faab5e6d610fdcd (patch)
tree2ce3241b11f7a6f53fa9127e8a1e8085a4d1f6e8 /src/lib.rs
parentIgnore stderr from openssl s_server (diff)
downloadrust-openssl-72ee42adba18adbb0e6eefd13faab5e6d610fdcd.tar.xz
rust-openssl-72ee42adba18adbb0e6eefd13faab5e6d610fdcd.zip
Better error handling in cert generation
Now it should correctly free all resources in case of failure.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9aee977d..edc8a2a5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,4 +1,4 @@
-#![feature(struct_variant, macro_rules)]
+#![feature(struct_variant, macro_rules, unsafe_destructor)]
#![crate_name="openssl"]
#![crate_type="rlib"]
#![crate_type="dylib"]
@@ -11,7 +11,7 @@ extern crate sync;
mod macros;
-mod asn1;
+pub mod asn1;
pub mod bn;
pub mod bio;
pub mod crypto;