Some more RSA test cases.
This commit is contained in:
@@ -1094,6 +1094,10 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn x509_tests() {
|
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
BIN
test/rsa2048-2.der
Normal file
Binary file not shown.
BIN
test/rsa4096-1.der
Normal file
BIN
test/rsa4096-1.der
Normal file
Binary file not shown.
BIN
test/rsa4096-2.der
Normal file
BIN
test/rsa4096-2.der
Normal file
Binary file not shown.
BIN
test/rsa4096-3.der
Normal file
BIN
test/rsa4096-3.der
Normal file
Binary file not shown.
Reference in New Issue
Block a user