Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/openssl/test_pkey_ec.rb: refactor tests for EC.builtin_curves
Check that OpenSSL::PKey::EC.builtin_curves returns an array in the expected format. Similarly to OpenSSL::Cipher.ciphers, OpenSSL::PKey::EC.builtin_curves returns a list of known named curves rather than actually usable ones. ruby#671 found that the list may include unapproved (and thus unusable) curves when the FIPS module is loaded.
- Loading branch information