Fix missing .trim() when verifying FIPS module name
This commit is contained in:
parent
bb063aa9e6
commit
57e54be907
|
|
@ -558,7 +558,7 @@ fn link_in_precompiled_bcm_o(bssl_dir: &str) {
|
||||||
let out = run_command(Command::new("ar").args(["t", &libcrypto_path, "bcm.o"])).unwrap();
|
let out = run_command(Command::new("ar").args(["t", &libcrypto_path, "bcm.o"])).unwrap();
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
String::from_utf8(out.stdout).unwrap(),
|
String::from_utf8(out.stdout).unwrap().trim(),
|
||||||
"bcm.o",
|
"bcm.o",
|
||||||
"failed to verify FIPS module name"
|
"failed to verify FIPS module name"
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue