diff options
author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-19 05:31:28 +0000 |
---|---|---|
committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-19 05:31:28 +0000 |
commit | 31388c4a73fa4280b1e544648b35faf02ff4c2e2 (patch) | |
tree | d1dace073e93cb893796fb440a050fbf3e5de1ba /ext/openssl/ossl_pkey.h | |
parent | 0ce3fab42233dad9a35573f1a702dabd1f1b6242 (diff) |
openssl: add 'const's required in OpenSSL master
* ext/openssl/ossl_pkey.h, ext/openssl/ossl_pkey_dh.c,
ext/openssl/ossl_pkey_dsa.c, ext/openssl/ossl_pkey_rsa.c: A few days
ago, OpenSSL changed {DH,DSA,RSA}_get0_*() to take const BIGNUM **.
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=fd809cfdbd6e32b6b67b68c59f6d55fbed7a9327
[ruby-core:75225] [Feature #12324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl_pkey.h')
-rw-r--r-- | ext/openssl/ossl_pkey.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_pkey.h b/ext/openssl/ossl_pkey.h index 6f9555e563..1f68352cdc 100644 --- a/ext/openssl/ossl_pkey.h +++ b/ext/openssl/ossl_pkey.h @@ -103,7 +103,7 @@ void Init_ossl_ec(void); static VALUE ossl_##_keytype##_get_##_name(VALUE self) \ { \ _type *obj; \ - BIGNUM *bn; \ + const BIGNUM *bn; \ \ Get##_type(self, obj); \ _get; \ |