diff options
| author | Steven Fackler <[email protected]> | 2014-10-07 23:06:35 -0400 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-10-07 23:06:35 -0400 |
| commit | 68b9bd700eac43fa24d321cef185553fcb7b178c (patch) | |
| tree | 95b6bb4ed72c2de202db64db7805d7f063118886 /src | |
| parent | Merge pull request #67 from vhbit/membio-eof (diff) | |
| parent | Fix #65: failing test case (diff) | |
| download | rust-openssl-68b9bd700eac43fa24d321cef185553fcb7b178c.tar.xz rust-openssl-68b9bd700eac43fa24d321cef185553fcb7b178c.zip | |
Merge pull request #66 from jroesch/fix-failing-test
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 56105253..56df2747 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 b37d3142..67437b52 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(); + ffi::ERR_load_crypto_strings(); // necessary? let verify_idx = ffi::SSL_CTX_get_ex_new_index(0, ptr::null(), None, None, None); assert!(verify_idx >= 0); |