Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't test that invalid RSA keys can be imported (#1139)
* Don't test that invalid RSA keys can be imported test_check_pr_897 asserts that an invalid key is correctly detected as invalid. However, in doing so, it also asserts that the invalid key is considered *valid* at parse time. Ideally, the underlying cryptography library would just call RSA_check_key during parsing, but it would then fail this test. Make the test more tolerant by allow either parsing or checking to throw an error. * Review comments, and also update the other test
- Loading branch information