Skip to content

tests throwing OpenSSL RC2 cipher error #36

Open
@WeepingClown13

Description

@WeepingClown13

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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions