summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_pkey_ec.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-06 01:58:01 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-06 01:58:01 +0000
commit31088109b728d2cd93051c2114ffef880b4fa8bb (patch)
tree6ef19e3e52ec5857931d2aef85981ba2d55f8717 /ext/openssl/ossl_pkey_ec.c
parent406389a9f31ab0e7de689a373b0a8c4b2d5905fa (diff)
* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_get_group): get rid of
warning. we are aware of it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_pkey_ec.c')
-rw-r--r--ext/openssl/ossl_pkey_ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_pkey_ec.c b/ext/openssl/ossl_pkey_ec.c
index 5f00fc001d..18a1db1022 100644
--- a/ext/openssl/ossl_pkey_ec.c
+++ b/ext/openssl/ossl_pkey_ec.c
@@ -249,7 +249,7 @@ static VALUE ossl_ec_key_get_group(VALUE self)
if (!NIL_P(group_v))
return group_v;
- if ((group = EC_KEY_get0_group(ec)) != NULL) {
+ if ((group = (EC_GROUP *)EC_KEY_get0_group(ec)) != NULL) {
group_v = rb_obj_alloc(cEC_GROUP);
SafeGet_ec_group(group_v, ec_group);
ec_group->group = group;