All ruby (but 2.2.4) install/compile fails when openssl is updated to v1.0.2

Hi, this should probably be addressed to ruby core but am not
qualified to be there, so am posting this request here (hoping matz et
all can read it).

if i upgrade libssl/openssl to v1.0.2, all ruby versions will fail to
compile / install; only latest ruby v2.2.4 will compile successfully.

request that the ssl fix in v2.2.4 be backported to at least the ff rubys:
1) 2.0.0-p648
2) 1.9.3-p551

thank you and best regards
--botp