diff options
| author | Steven Fackler <[email protected]> | 2014-10-07 23:18:20 -0400 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-10-07 23:18:20 -0400 |
| commit | fec1c43a4a348ba6356ab7c80961cc2652a2602e (patch) | |
| tree | 1cb0974cc5cd3fb0e3583de03632b791b23a823c /src | |
| parent | Merge pull request #66 from jroesch/fix-failing-test (diff) | |
| download | rust-openssl-fec1c43a4a348ba6356ab7c80961cc2652a2602e.tar.xz rust-openssl-fec1c43a4a348ba6356ab7c80961cc2652a2602e.zip | |
Revert "Fix #65: failing test case"
Diffstat (limited to 'src')
| -rw-r--r-- | src/ssl/error.rs | 2 | ||||
| -rw-r--r-- | src/ssl/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/error.rs b/src/ssl/error.rs index 56df2747..56105253 100644 --- a/src/ssl/error.rs +++ b/src/ssl/error.rs @@ -42,8 +42,8 @@ fn get_reason(err: c_ulong) -> String { } #[test] +#[ignore] // FIXME #65 fn test_uknown_error_should_have_correct_messages() { - unsafe { ffi::SSL_load_error_strings(); } let err = 336032784; let library = get_lib(err); let function = get_func(err); diff --git a/src/ssl/mod.rs b/src/ssl/mod.rs index 67437b52..b37d3142 100644 --- a/src/ssl/mod.rs +++ b/src/ssl/mod.rs @@ -25,7 +25,7 @@ fn init() { INIT.doit(|| { ffi::SSL_library_init(); ffi::SSL_load_error_strings(); - ffi::ERR_load_crypto_strings(); // necessary? + ffi::ERR_load_crypto_strings(); let verify_idx = ffi::SSL_CTX_get_ex_new_index(0, ptr::null(), None, None, None); assert!(verify_idx >= 0); |