include the identity.p12 and root-ca.der files into the test binary#92
include the identity.p12 and root-ca.der files into the test binary#92alexanderkjall wants to merge 2 commits intotokio-rs:masterfrom
Conversation
…so that the tests can be run from different directories with less trouble
|
Sorry for the missed import thing, have pushed a new commit that fixes that. |
|
The test failure was "The certificate was not trusted." on macos, this doesn't happen on my linux box, and I don't own a mac so I can't try to reproduce this error :/ |
|
Maybe have a look at rustls/rustls-native-certs#39. |
|
The CI failure doesn't make sense. The only change is how bytes are read and shouldn't interface with the cert store. |
|
I have managed to reproduce the test-failure on a friends mac, so it's not just a fluke error. But I'm still clueless on why this happens, will report back if I manage to get to the bottom of this. |
This is just not true: |
The debian build system doesn't run their tests from the same directory as
cargo testdoes, and this caused the test to not find theidentity.p12androot-ca.derfiles.This patch includes those files in the test binary instead, so that the tests can be run from different directories with less trouble.