Skip to content

Commit

Permalink
fix boringssl CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq committed Feb 19, 2024
1 parent c83b05f commit 7f9d142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl/src/x509/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ fn test_verify_param_set_depth_fails_verification() {
store_bldr.add_cert(ca).unwrap();
let mut verify_params = X509VerifyParam::new().unwrap();
// OpenSSL 1.1.0+ considers the root certificate to not be part of the chain, while 1.0.2 and LibreSSL do
let expected_depth = if cfg!(any(ossl110)) { 0 } else { 1 };
let expected_depth = if cfg!(any(ossl110, bssl_google)) { 0 } else { 1 };
verify_params.set_depth(expected_depth);
store_bldr.set_param(&verify_params).unwrap();
let store = store_bldr.build();
Expand Down

0 comments on commit 7f9d142

Please sign in to comment.