rubysl-openssl 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9eb5e6946efd9be305ec7abeb1c98fc0aaaaf31
4
- data.tar.gz: 59e3dbba1e285eb1325263db47b7f431120aa0c5
3
+ metadata.gz: aec70d2812837420a5062aac00d010645f9e6d11
4
+ data.tar.gz: c5723749fc96b306e8b3302bb3be9d3e9e202ed2
5
5
  SHA512:
6
- metadata.gz: 9e3c16e44d13c0b8467a241d21dd0262a6b826eb8d79171b8d6b7254cd6937e5506e88991ae4398607b82eef1e23a6637670b3c5c1d248736a771b4f300c5ccd
7
- data.tar.gz: a7fe620ea6224d79b13dfe4482102316e3866049d7d2941ded2cbe19b00d5e0d84fb22782e05d31ccf8b3d3c0709e4e45dacd75134ec5c73c714ddf9823766ae
6
+ metadata.gz: 454e74c24ee841bb6bf26b3209d037d697db78369d9c5b71ce9e5d02db40f9d669294375599510303dc9b2cb3fa1d6e6777cb9ea9692c1d4534ad2f0f9f51d3b
7
+ data.tar.gz: 66c0cfc25ddd72411a3fa9bfa19a20443b4145fa2eba878a4ef685917940632bf04699c404b55f6c849e4ae690c606612f8651f6f4145350b4b254e29912a5a1
@@ -762,8 +762,10 @@ static VALUE ossl_ec_group_initialize(int argc, VALUE *argv, VALUE self)
762
762
  method = EC_GFp_mont_method();
763
763
  } else if (id == s_GFp_nist) {
764
764
  method = EC_GFp_nist_method();
765
+ #if !defined(OPENSSL_NO_EC2M)
765
766
  } else if (id == s_GF2m_simple) {
766
767
  method = EC_GF2m_simple_method();
768
+ #endif
767
769
  }
768
770
 
769
771
  if (method) {
@@ -817,8 +819,10 @@ static VALUE ossl_ec_group_initialize(int argc, VALUE *argv, VALUE self)
817
819
 
818
820
  if (id == s_GFp) {
819
821
  new_curve = EC_GROUP_new_curve_GFp;
822
+ #if !defined(OPENSSL_NO_EC2M)
820
823
  } else if (id == s_GF2m) {
821
824
  new_curve = EC_GROUP_new_curve_GF2m;
825
+ #endif
822
826
  } else {
823
827
  ossl_raise(rb_eArgError, "unknown symbol, must be :GFp or :GF2m");
824
828
  }
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module OpenSSL
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysl-openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-24 00:00:00.000000000 Z
11
+ date: 2013-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler