1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

5 commits

Author SHA1 Message Date
nahi
8e6893f7b2 * test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst is
truncated with ec_key.group.order.size after openssl 0.9.8m for
          FIPS 186-3 compliance.

          WARNING: ruby-openssl aims to wrap an OpenSSL so when you're using
          openssl 0.9.8l or earlier version, EC.dsa_sign_asn1 raises
          OpenSSL::PKey::ECError as before and EC.dsa_verify_asn1 just returns
          false when you pass dgst longer than expected (no truncation
          performed).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-06 21:43:31 +00:00
nahi
0322d30623 * test/openssl: backport cosmetic changes from 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-06 21:41:32 +00:00
nahi
c2e8a9ca94 * test/openssl/*: added some tests from jruby-openssl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 14:09:20 +00:00
technorama
7137a314b3 * ext/openssl/{extconf.rb,ossl_ssl_session.c}:
Fix ruby-Bugs-11513.

* ext/openssl/ossl_pkey_ec.c
  New methods EC::Point.[eql,make_affine!,invert!,on_curve?,infinity?]
  By default output the same key form as the openssl command.

* ext/openssl/ossl_rand.c
  New method Random.status?

* test/openssl/test_ec.rb
  New tests.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-18 09:03:15 +00:00
technorama
18342ff8e0 import OpenSSL from trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 15:02:04 +00:00