diff options
| author | Kazuki Yamaguchi <k@rhe.jp> | 2025-09-30 18:27:35 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-09-30 11:59:41 +0000 |
| commit | 37d65e9252a4c3096325c63a876a289e03a7417c (patch) | |
| tree | 3b42d5715d4c1d203c9b90f2d334a7232f484a16 /include/ruby/version.h | |
| parent | ad35a4be82f9356045036875759874bfac6c483b (diff) | |
[ruby/openssl] pkey/dh: refactor tests
- Generate smaller parameters in test_new_generate. Generating 2048-bit
parameters is slow and sometimes takes a few minutes on GitHub-hosted
CI runners. Also test the DH.generate alias, not just DH.new.
- Simplify test_new_break to just check exceptions raised in the block
because it is redundant.
- Remove unnecessary OpenSSL::PKey::DH#public_key calls.
- Update bare "assert" with more appropriate methods.
https://github.com/ruby/openssl/commit/8bc7442310
Diffstat (limited to 'include/ruby/version.h')
0 files changed, 0 insertions, 0 deletions
