Use a fixed date for testing apnic RFC 6492

This commit is contained in:
Tim Bruijnzeels
2020-08-03 15:11:48 +02:00
committed by GitHub
parent e40131aaea
commit 20188c7d32
+1 -1
View File
@@ -1028,7 +1028,7 @@ mod tests {
let cer_der = include_bytes!("../../../test-resources/remote/apnic-id.der");
let cer = IdCert::decode(cer_der.as_ref()).unwrap();
msg.validate(&cer).unwrap();
msg.validate_at(&cer, Time::utc(2019, 07, 25, 0, 0, 0)).unwrap();
}
#[test]