From edb83dc3a2c374e880e8eb488152872152790e92 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 23 Dec 2022 19:37:24 +0900 Subject: [PATCH] Revert the additional change from openssl-3.1.0 Revert "[ruby/openssl] pkey/ec: constify" This reverts commit d2cd903c85f38f42c6aefc6d97a1558f74d8d9db. --- ext/openssl/ossl_pkey_ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);