fix build on older rustc

This commit is contained in:
Steven Fackler 2018-06-01 20:47:46 -07:00
parent bf5772eb54
commit a3a2605115
1 changed files with 1 additions and 1 deletions

View File

@ -1056,7 +1056,7 @@ mod test {
#[test]
fn signature_digest() {
let algs = Nid::SHA256WITHRSAENCRYPTION.signature_algorithms().unwrap();
assert_eq!(algs.digest, Nid::SHA256,);
assert_eq!(algs.digest, Nid::SHA256);
assert_eq!(algs.pkey, Nid::RSAENCRYPTION);
}