summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-23 19:37:24 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-23 19:37:24 +0900
commitedb83dc3a2c374e880e8eb488152872152790e92 (patch)
tree718f95aa6be3188a12df7b0dc70d3d9e04a7b50b /ext/openssl
parenteb8d4d7b5145849325985c00b810b8d75661d86e (diff)
Revert the additional change from openssl-3.1.0
Revert "[ruby/openssl] pkey/ec: constify" This reverts commit d2cd903c85f38f42c6aefc6d97a1558f74d8d9db.
Diffstat (limited to 'ext/openssl')
-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 92842f95ac..a59849f719 100644
--- a/ext/openssl/ossl_pkey_ec.c
+++ b/ext/openssl/ossl_pkey_ec.c
@@ -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);