Revert the additional change from openssl-3.1.0

Revert "[ruby/openssl] pkey/ec: constify"

  This reverts commit d2cd903c85f38f42c6aefc6d97a1558f74d8d9db.
This commit is contained in:
Hiroshi SHIBATA 2022-12-23 19:37:24 +09:00
parent eb8d4d7b51
commit edb83dc3a2
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -483,7 +483,7 @@ static VALUE ossl_ec_key_check_key(VALUE self)
#ifdef HAVE_EVP_PKEY_CHECK
EVP_PKEY *pkey;
EVP_PKEY_CTX *pctx;
const EC_KEY *ec;
EC_KEY *ec;
GetPKey(self, pkey);
GetEC(self, ec);