Some more RSA test cases.

This commit is contained in:
2017-12-27 16:10:25 -08:00
parent 8e83ed65d4
commit 63be0eaef1
6 changed files with 5 additions and 1 deletions

View File

@@ -1094,6 +1094,10 @@ mod tests {
#[test]
fn x509_tests() {
assert!(can_parse("test/server.bin").is_ok());
assert!(can_parse("test/rsa2048-1.der").is_ok());
assert!(can_parse("test/rsa2048-2.der").is_ok());
assert!(can_parse("test/rsa4096-1.der").is_ok());
assert!(can_parse("test/rsa4096-2.der").is_ok());
assert!(can_parse("test/rsa4096-3.der").is_ok());
}
}

BIN
test/rsa2048-2.der Normal file

Binary file not shown.

BIN
test/rsa4096-1.der Normal file

Binary file not shown.

BIN
test/rsa4096-2.der Normal file

Binary file not shown.

BIN
test/rsa4096-3.der Normal file

Binary file not shown.