Skip to content

Commit f72c729

Browse files
fix(tests): fix broken integration test
Signed-off-by: Taylor Thomas <taylor@oftaylor.com>
1 parent 221b870 commit f72c729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ async fn start_https_server(
202202

203203
let cert = rcgen::generate_simple_self_signed(vec!["localhost".into(), "127.0.0.1".into()])?;
204204
let cert_der = cert.cert.der().clone();
205-
let key_bytes = cert.key_pair.serialize_der();
205+
let key_bytes = cert.signing_key.serialize_der();
206206
let key_der = PrivateKeyDer::try_from(key_bytes)
207207
.map_err(|e| anyhow::anyhow!("Failed to convert private key: {}", e))?;
208208

0 commit comments

Comments
 (0)