diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-08-20 21:09:54 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-08-26 02:12:36 +0900 |
commit | a3311831a1b16beea04cd716769def7bd9887bd3 (patch) | |
tree | aac4142c17eb7249a40028fb1378955820ef4dda /ext/openssl/ossl.c | |
parent | c3825dd99c1e9c21e01d6bad59e88569f31ff4ef (diff) | |
download | ruby-openssl-a3311831a1b16beea04cd716769def7bd9887bd3.tar.gz |
asn1: constify functions
In order to avoid compiler warnings when build with OpenSSL 1.1.0.
Diffstat (limited to 'ext/openssl/ossl.c')
-rw-r--r-- | ext/openssl/ossl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index 1bf99e62..5cd0fe21 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -98,7 +98,7 @@ OSSL_IMPL_ARY2SK(x509, X509, cX509Cert, DupX509CertPtr) #define OSSL_IMPL_SK2ARY(name, type) \ VALUE \ -ossl_##name##_sk2ary(STACK_OF(type) *sk) \ +ossl_##name##_sk2ary(const STACK_OF(type) *sk) \ { \ type *t; \ int i, num; \ |