mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
0ce3fab422
commit
31388c4a73
6 changed files with 25 additions and 17 deletions
|
@ -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; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue