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 +4 -4
- data/ext/rubysl/openssl/ossl_pkey_ec.c +4 -0
- data/lib/rubysl/openssl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aec70d2812837420a5062aac00d010645f9e6d11
|
4
|
+
data.tar.gz: c5723749fc96b306e8b3302bb3be9d3e9e202ed2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
}
|
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.
|
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-
|
11
|
+
date: 2013-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|