Revert "Fix #65: failing test case"
This commit is contained in:
parent
68b9bd700e
commit
fec1c43a4a
|
|
@ -42,8 +42,8 @@ fn get_reason(err: c_ulong) -> String {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore] // FIXME #65
|
||||||
fn test_uknown_error_should_have_correct_messages() {
|
fn test_uknown_error_should_have_correct_messages() {
|
||||||
unsafe { ffi::SSL_load_error_strings(); }
|
|
||||||
let err = 336032784;
|
let err = 336032784;
|
||||||
let library = get_lib(err);
|
let library = get_lib(err);
|
||||||
let function = get_func(err);
|
let function = get_func(err);
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ fn init() {
|
||||||
INIT.doit(|| {
|
INIT.doit(|| {
|
||||||
ffi::SSL_library_init();
|
ffi::SSL_library_init();
|
||||||
ffi::SSL_load_error_strings();
|
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,
|
let verify_idx = ffi::SSL_CTX_get_ex_new_index(0, ptr::null(), None,
|
||||||
None, None);
|
None, None);
|
||||||
assert!(verify_idx >= 0);
|
assert!(verify_idx >= 0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue