Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1183fe7

Browse files
committed
update cert path in tests/tls/query
1 parent 677f345 commit 1183fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/tls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const TEST_TLS_URL: &str = env!("TEST_TLS_URL");
88

99
#[async_std::test]
1010
async fn query() -> Result<(), Box<dyn Error>> {
11-
let mut cert_buf = io::BufReader::new(fs::File::open("cert/server.crt")?);
11+
let mut cert_buf = io::BufReader::new(fs::File::open("tests/cert/server.crt")?);
1212
let mut tls_config = TlsConfig::new();
1313
tls_config.root_store.add_pem_file(&mut cert_buf).unwrap();
1414
let (client, conn) =

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /