Skip to content

Commit 10f21c1

Browse files
committed
tests: rename data -> cert_der in expect_cert_dns_names
1 parent 58c618b commit 10f21c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ fn wildcard_subject_alternative_names() {
332332
}
333333

334334
#[cfg(feature = "alloc")]
335-
fn expect_cert_dns_names(data: &[u8], expected_names: &[&str]) {
335+
fn expect_cert_dns_names(cert_der: &[u8], expected_names: &[&str]) {
336336
use std::collections::HashSet;
337337

338-
let der = CertificateDer::from(data);
338+
let der = CertificateDer::from(cert_der);
339339
let cert = webpki::EndEntityCert::try_from(&der)
340340
.expect("should parse end entity certificate correctly");
341341

0 commit comments

Comments
 (0)