From 72ee42adba18adbb0e6eefd13faab5e6d610fdcd Mon Sep 17 00:00:00 2001 From: Valerii Hiora Date: Wed, 1 Oct 2014 20:19:29 +0300 Subject: Better error handling in cert generation Now it should correctly free all resources in case of failure. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') 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; -- cgit v1.2.3