Issue #6938 has been updated by MartinBosslet (Martin Bosslet).


OK, I found a way to use a cached key (r36881). This still leaves us with the problem that "test_new" in test_pkey_dh.rb consumes a lot of time. But I think I found a way how to handle this cleanly (cf. #6946).
----------------------------------------
Bug #6938: [PATCH] Increase DH key size to fix test suite in FIPS mode
https://bugs.ruby-lang.org/issues/6938#change-29143

Author: vo.x (Vit Ondruch)
Status: Closed
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: 
Target version: 
ruby -v: ruby 2.0.0dev


In FIPS mode, DH refuses to generate or use keys with modulus smaller than 1024 bits. This patch increases the key size to make the test suite pass.


-- 
http://bugs.ruby-lang.org/