[ruby/openssl] pkey/ec: constify

https://github.com/ruby/openssl/commit/6fb3499a7b
This commit is contained in:
Nobuyoshi Nakada 2022-12-23 11:18:33 +09:00
parent d2847009db
commit d2cd903c85

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;
EC_KEY *ec;
const EC_KEY *ec;
GetPKey(self, pkey);
GetEC(self, ec);