aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-09 00:17:25 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-29 11:45:05 +0900
commitc0023822fec34275459b23fd24e6e247746bb242 (patch)
treec7967ba0dc5047d2a9deadb2c1035dd32d37a800 /ext/openssl/ossl_pkey.h
parentf2311d535397debe3b1d0ebe1b96ed4add772cd5 (diff)
downloadruby-openssl-c0023822fec34275459b23fd24e6e247746bb242.tar.gz
Constify when building with OpenSSL 3
Diffstat (limited to 'ext/openssl/ossl_pkey.h')
-rw-r--r--ext/openssl/ossl_pkey.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_pkey.h b/ext/openssl/ossl_pkey.h
index 38fb9fad..10669b82 100644
--- a/ext/openssl/ossl_pkey.h
+++ b/ext/openssl/ossl_pkey.h
@@ -92,7 +92,7 @@ void Init_ossl_ec(void);
*/ \
static VALUE ossl_##_keytype##_get_##_name(VALUE self) \
{ \
- _type *obj; \
+ const _type *obj; \
const BIGNUM *bn; \
\
Get##_type(self, obj); \