Skip to content

Commit ab246c5

Browse files
committed
cargo fmt
1 parent 7f9d142 commit ab246c5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

openssl/src/x509/tests.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,11 @@ fn test_verify_param_set_depth_fails_verification() {
988988
store_bldr.add_cert(ca).unwrap();
989989
let mut verify_params = X509VerifyParam::new().unwrap();
990990
// OpenSSL 1.1.0+ considers the root certificate to not be part of the chain, while 1.0.2 and LibreSSL do
991-
let expected_depth = if cfg!(any(ossl110, bssl_google)) { 0 } else { 1 };
991+
let expected_depth = if cfg!(any(ossl110, bssl_google)) {
992+
0
993+
} else {
994+
1
995+
};
992996
verify_params.set_depth(expected_depth);
993997
store_bldr.set_param(&verify_params).unwrap();
994998
let store = store_bldr.build();

0 commit comments

Comments
 (0)