From c0023822fec34275459b23fd24e6e247746bb242 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 9 Jul 2022 00:17:25 +0900 Subject: Constify when building with OpenSSL 3 --- ext/openssl/ossl_pkey.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl/ossl_pkey.h') 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); \ -- cgit v1.2.3