diff options
author | Samuel Chiang <[email protected]> | 2025-02-12 01:45:15 +0000 |
---|---|---|
committer | git <[email protected]> | 2025-02-22 15:11:38 +0000 |
commit | f63a123606286eadd812313a4ea42af8ea8c686f (patch) | |
tree | aab0cf140275bf7437af6b39ea05a4e21f586cab /test/openssl/utils.rb | |
parent | 6263d0d16bbe18fa210d2d67816dbd14272e109e (diff) |
[ruby/openssl] pkey: AWS-LC disallows parsing of invalid keys and params
OpenSSL allows invalid EC keys or DH params to be parsed. The consuming
application can then run parameter/key checks to check the validity of
the parameters. We happen to run tests to verify that this behaves as
expected.
AWS-LC on the other hand, directly raises an error and disallows the
invalid state to be parsed, rather than making it parsable and checking
the validity later. Relevant tests have been adjusted accordingly to
reflect this.
https://github.com/ruby/openssl/commit/febe50be1b
Diffstat (limited to 'test/openssl/utils.rb')
0 files changed, 0 insertions, 0 deletions