Issue #6938 has been updated by vo.x (Vit Ondruch).

File 0001-Use-higher-DH-key-moudlus-to-pass-test-with-FIPS-ena.patch added

Hm, actually, it seems that the test_pair one can be entirely dropped. Not sure about the test_pkey_dh.rb, since they are testing directly the DH algorithm.
----------------------------------------
Bug #6938: [PATCH] Increase DH key size to fix test suite in FIPS mode
https://bugs.ruby-lang.org/issues/6938#change-29070

Author: vo.x (Vit Ondruch)
Status: Assigned
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/