Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests throwing OpenSSL RC2 cipher error #36

Open
WeepingClown13 opened this issue Jun 5, 2024 · 0 comments · May be fixed by #37
Open

tests throwing OpenSSL RC2 cipher error #36

WeepingClown13 opened this issue Jun 5, 2024 · 0 comments · May be fixed by #37

Comments

@WeepingClown13
Copy link

Running tests throw an error caused by the tests.identity.pfx file that is using the older cypher suite even though RC2 is now in OpenSSL legacy. The info is explained here in more detail.

The error:

$ cargo test --all-targets
    Finished test [unoptimized + debuginfo] target(s) in 0.05s
     Running unittests src/lib.rs (target/debug/deps/async_native_tls-bb50656d8e4bc2cf)

running 1 test
test acceptor::tests::test_acceptor ... FAILED

failures:

---- acceptor::tests::test_acceptor stdout ----
thread 'acceptor::tests::test_acceptor' panicked at src/acceptor.rs:111:61:
called `Result::unwrap()` on an `Err` value: NativeTls(Normal(ErrorStack([Error { code: 50856204, library: "digital envelope routines", function: "inner_evp_generic_fetch", reason: "unsupported", file: "../crypto/evp/evp_fetch.c", line: 355, data: "Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()" }])))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    acceptor::tests::test_acceptor

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--lib`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant