Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ untrusted = "0.9"
[dev-dependencies]
base64 = "0.22"
bencher = "0.1.5"
bzip2 = "0.6"
chrono = "0.4"
limbo-harness-support = { git = "https://github.com/C2SP/x509-limbo", rev = "9c7359242f16265a5154bc5989eca91822ef5ed2" }
limbo-harness-support = { git = "https://github.com/C2SP/x509-limbo", rev = "700bc657992b688f305f8f3ce08195da04543545" }
once_cell = "1.17.2"
rcgen = { version = "0.14.2", default-features = false, features = ["aws_lc_rs"] }
rustls-aws-lc-rs = { version = "0.1.0-dev.0" }
Expand Down
8 changes: 2 additions & 6 deletions tests/x509_limbo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
use std::collections::HashMap;
use std::fs::File;

use bzip2::read::BzDecoder;
use chrono::{DateTime, Utc};
use limbo_harness_support::LIMBO_JSON;
use limbo_harness_support::models::{ExpectedResult, Feature, Limbo, Testcase, ValidationKind};
use serde::{Deserialize, Serialize};

Expand All @@ -18,11 +18,7 @@ use webpki::{
#[ignore] // Runs slower than other unit tests - opt-in with `cargo test -- --include-ignored`
#[test]
fn x509_limbo() {
let mut data_file =
File::open("third-party/x509-limbo/limbo.json.bz2").expect("failed to open data file");

let limbo: Limbo =
serde_json::from_reader(BzDecoder::new(&mut data_file)).expect("invalid test JSON");
let limbo: Limbo = serde_json::from_slice(LIMBO_JSON).expect("invalid test JSON");

let exceptions = serde_json::from_reader(
File::open("third-party/x509-limbo/exceptions.json")
Expand Down
Binary file removed third-party/x509-limbo/limbo.json.bz2
Binary file not shown.