Issue #8610 has been reported by luislavena (Luis Lavena).

----------------------------------------
Bug #8610: MinGW: OpenSSL test failures
https://bugs.ruby-lang.org/issues/8610

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: test
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-07-08 trunk 41827) [i386-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
Hello,

RubyInstaller CI is reporting some failures of OpenSSL tests that might be worth to take a look:

http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x86-test-all/1740/console
http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x64-test-all/1539/console

   1) Failure:
 OpenSSL::TestEC#test_dsa_sign_asn1_FIPS186_3 [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:103]:
 <"ECDSA_sign: data too large for key size"> expected but was
 <"ECDSA_sign: (null)">.

   3) Error:
 OpenSSL::TestEC#test_encoding:
 ArgumentError: string contains null byte
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:51:in `initialize'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:51:in `new'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:51:in `block (2 levels) in test_encoding'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:49:in `each'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:49:in `block in test_encoding'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:48:in `each'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/openssl/test_pkey_ec.rb:48:in `test_encoding'

And

   1) Failure:
 OpenSSL::TestEC#test_dsa_sign_asn1_FIPS186_3 [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:103]:
 <"ECDSA_sign: data too large for key size"> expected but was
 <"ECDSA_verify: BN lib">.
 
   2) Error:
 OpenSSL::TestEC#test_dsa_sign_verify:
 OpenSSL::PKey::ECError: ECDSA_sign: (null)
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:88:in `dsa_sign_asn1'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:88:in `block in test_dsa_sign_verify'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:87:in `each'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:87:in `test_dsa_sign_verify'
 
   3) Error:
 OpenSSL::TestEC#test_encoding:
 ArgumentError: string contains null byte
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:51:in `initialize'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:51:in `new'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:51:in `block (2 levels) in test_encoding'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:49:in `each'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:49:in `block in test_encoding'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:48:in `each'
     C:/Users/Worker/Jenkins/workspace/ruby-trunk-x64-build/test/openssl/test_pkey_ec.rb:48:in `test_encoding'

Thank you.

=end


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