summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-26 12:06:32 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-26 12:07:42 +0900
commitcd6c7613f31a371326d86de55af15918d6aa01f1 (patch)
tree86d1cf003d51e048ba9d04738eeac403fe9c594c /ext
parentbb2c3601381d8ecb033e48825f3d0c2a387dddf2 (diff)
downloadruby-cd6c7613f31a371326d86de55af15918d6aa01f1.tar.gz
Apply the accidental commits again before Ruby 3.2.
Reverts the following commits: eb8d4d7b5145849325985c00b810b8d75661d86e edb83dc3a2c374e880e8eb488152872152790e92 d40064d1846b5835dff81e3f168c0c3a6c85e814
Diffstat (limited to 'ext')
-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 a59849f719..92842f95ac 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;
- EC_KEY *ec;
+ const EC_KEY *ec;
GetPKey(self, pkey);
GetEC(self, ec);