| "git clone --depth 1 https://github.com/ruby/ruby.git trunk-repeat50" exit with 0. |
| Cloning into 'trunk-repeat50'... |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/tmp/ruby/src/trunk-repeat50/configure --prefix=/tmp/ruby/install/trunk-repeat50 --disable-install-doc --enable-shared" exit with 0. |
| configure: WARNING: something wrong with CXXFLAGS="" |
| "make update-unicode -j4" exit with 0. |
| "make update-download -j4" exit with 0. |
| Cloning into '/tmp/ruby/src/trunk-repeat50/gems/src/rbs'... |
| "make update-rubyspec -j4" exit with 0. |
| "make update-src -j4" exit with 0. |
| "make after-update -j4" exit with 0. |
| + cp /tmp/ruby/src/trunk-repeat50/enc/jis/props.h.blt /tmp/ruby/src/trunk-repeat50/enc/jis/props.h |
| From https://github.com/ruby/rbs |
| * branch 57c07bb9abf86e95694224174ade7521b593926a -> FETCH_HEAD |
| HEAD is now at 57c07bb9 Merge pull request #1164 from shugo/fix_for_anonymous_kwrest |
| "make miniruby -j4" exit with 0. |
| "make ruby -j4" exit with 0. |
| "make all -j4" exit with 0. |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_initialize': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:87:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 87 | dh = DH_new(); |
| | ^~ |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:199:27: note: declared here |
| 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:100:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 100 | dh = d2i_DHparams_bio(in, NULL); |
| | ^~ |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:199:27: note: declared here |
| 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:100:5: warning: 'd2i_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 100 | dh = d2i_DHparams_bio(in, NULL); |
| | ^~ |
| In file included from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:23, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:229:1: note: declared here |
| 229 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:121:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 121 | if (!pkey || EVP_PKEY_assign_DH(pkey, dh) != 1) { |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1328:5: note: declared here |
| 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); |
| | ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:123:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 123 | DH_free(dh); |
| | ^~~~~~~ |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:200:28: note: declared here |
| 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); |
| | ^~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_is_public': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:184:5: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 184 | GetDH(self, dh); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:184:5: note: in expansion of macro 'GetDH' |
| 184 | GetDH(self, dh); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:185:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 185 | DH_get0_key(dh, &bn, NULL); |
| | ^~~~~~~~~~~ |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:256:28: note: declared here |
| 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_is_private': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:203:5: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 203 | GetDH(self, dh); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:203:5: note: in expansion of macro 'GetDH' |
| 203 | GetDH(self, dh); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:204:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 204 | DH_get0_key(dh, NULL, &bn); |
| | ^~~~~~~~~~~ |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:256:28: note: declared here |
| 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:207:5: warning: 'DH_get0_engine' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 207 | return (bn || DH_get0_engine(dh)) ? Qtrue : Qfalse; |
| | ^~~~~~ |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:267:31: note: declared here |
| 267 | OSSL_DEPRECATEDIN_3_0 ENGINE *DH_get0_engine(DH *d); |
| | ^~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_export': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:230:5: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 230 | GetDH(self, dh); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:230:5: note: in expansion of macro 'GetDH' |
| 230 | GetDH(self, dh); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:234:5: warning: 'PEM_write_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 234 | if (!PEM_write_bio_DHparams(out, dh)) { |
| | ^~ |
| In file included from /usr/include/openssl/ssl.h:36, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/pem.h:469:1: note: declared here |
| 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_to_der': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:260:5: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 260 | GetDH(self, dh); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:260:5: note: in expansion of macro 'GetDH' |
| 260 | GetDH(self, dh); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:261:5: warning: 'i2d_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 261 | if((len = i2d_DHparams(dh, NULL)) <= 0) |
| | ^~ |
| In file included from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:23, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:229:1: note: declared here |
| 229 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:265:5: warning: 'i2d_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 265 | if(i2d_DHparams(dh, &p) < 0) |
| | ^~ |
| In file included from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:23, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:229:1: note: declared here |
| 229 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_get_params': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:287:5: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 287 | GetDH(self, dh); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:287:5: note: in expansion of macro 'GetDH' |
| 287 | GetDH(self, dh); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:288:5: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 288 | DH_get0_pqg(dh, &p, &q, &g); |
| | ^~~~~~~~~~~ |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:253:28: note: declared here |
| 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:289:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 289 | DH_get0_key(dh, &pub_key, &priv_key); |
| | ^~~~~~~~~~~ |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:256:28: note: declared here |
| 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_get_p': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 349 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDH' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:106:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 106 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 349 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:253:28: note: declared here |
| 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_get_q': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 349 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDH' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:108:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 108 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 349 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:253:28: note: declared here |
| 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_get_g': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 349 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDH' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:110:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 110 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 349 | OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:253:28: note: declared here |
| 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_get_pub_key': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:357:1: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 357 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDH' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:114:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 114 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:198:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| 198 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:357:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF2' |
| 357 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:357:1: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:256:28: note: declared here |
| 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: In function 'ossl_dh_get_priv_key': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:357:1: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 357 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:23:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDH' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:116:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 116 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:198:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| 198 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:357:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF2' |
| 357 | OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:357:1: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/dsa.h:51, |
| from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c:10: |
| /usr/include/openssl/dh.h:256:28: note: declared here |
| 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dh.c: At top level: |
| cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ec_key_new_from_group': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:74:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 74 | if (!(ec = EC_KEY_new())) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:968:31: note: declared here |
| 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); |
| | ^~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:77:9: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 77 | if (!EC_KEY_set_group(ec, group)) { |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1042:27: note: declared here |
| 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:78:13: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 78 | EC_KEY_free(ec); |
| | ^~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1003:28: note: declared here |
| 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:87:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 87 | if (!(ec = EC_KEY_new_by_curve_name(nid))) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:998:31: note: declared here |
| 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:90:9: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 90 | EC_KEY_set_asn1_flag(ec, OPENSSL_EC_NAMED_CURVE); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1087:28: note: declared here |
| 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:91:9: warning: 'EC_KEY_set_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 91 | EC_KEY_set_conv_form(ec, POINT_CONVERSION_UNCOMPRESSED); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1075:28: note: declared here |
| 1075 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_s_generate': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:115:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 115 | if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, ec) != 1) { |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1328:5: note: declared here |
| 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); |
| | ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:117:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 117 | EC_KEY_free(ec); |
| | ^~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1003:28: note: declared here |
| 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:122:5: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 122 | if (!EC_KEY_generate_key(ec)) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1101:27: note: declared here |
| 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_initialize': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:153:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 153 | if (!(ec = EC_KEY_new())) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:968:31: note: declared here |
| 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); |
| | ^~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:184:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 184 | if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, ec) != 1) { |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1328:5: note: declared here |
| 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); |
| | ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:186:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 186 | EC_KEY_free(ec); |
| | ^~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1003:28: note: declared here |
| 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); |
| | ^~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_get_group': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:233:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 233 | GetEC(self, ec); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1372:25: note: declared here |
| 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:24:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:233:5: note: in expansion of macro 'GetEC' |
| 233 | GetEC(self, ec); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:234:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 234 | group = EC_KEY_get0_group(ec); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1034:39: note: declared here |
| 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_get_private_key': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:278:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 278 | GetEC(self, ec); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1372:25: note: declared here |
| 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:24:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:278:5: note: in expansion of macro 'GetEC' |
| 278 | GetEC(self, ec); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:279:5: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 279 | if ((bn = EC_KEY_get0_private_key(ec)) == NULL) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1048:37: note: declared here |
| 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_get_public_key': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:329:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 329 | GetEC(self, ec); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1372:25: note: declared here |
| 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:24:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:329:5: note: in expansion of macro 'GetEC' |
| 329 | GetEC(self, ec); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:330:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 330 | if ((point = EC_KEY_get0_public_key(ec)) == NULL) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1062:39: note: declared here |
| 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:333:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 333 | return ec_point_new(point, EC_KEY_get0_group(ec)); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1034:39: note: declared here |
| 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_is_public': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:380:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 380 | GetEC(self, ec); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1372:25: note: declared here |
| 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:24:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:380:5: note: in expansion of macro 'GetEC' |
| 380 | GetEC(self, ec); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:382:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 382 | return EC_KEY_get0_public_key(ec) ? Qtrue : Qfalse; |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1062:39: note: declared here |
| 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_is_private': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:396:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 396 | GetEC(self, ec); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1372:25: note: declared here |
| 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:24:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:396:5: note: in expansion of macro 'GetEC' |
| 396 | GetEC(self, ec); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:398:5: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 398 | return EC_KEY_get0_private_key(ec) ? Qtrue : Qfalse; |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1048:37: note: declared here |
| 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_export': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:416:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 416 | GetEC(self, ec); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1372:25: note: declared here |
| 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:24:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:416:5: note: in expansion of macro 'GetEC' |
| 416 | GetEC(self, ec); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:417:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 417 | if (EC_KEY_get0_public_key(ec) == NULL) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1062:39: note: declared here |
| 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:419:5: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 419 | if (EC_KEY_get0_private_key(ec)) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1048:37: note: declared here |
| 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_key_to_der': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:436:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 436 | GetEC(self, ec); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/evp.h:1372:25: note: declared here |
| 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:24:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 24 | (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:436:5: note: in expansion of macro 'GetEC' |
| 436 | GetEC(self, ec); |
| | ^~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:437:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 437 | if (EC_KEY_get0_public_key(ec) == NULL) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1062:39: note: declared here |
| 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:439:5: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 439 | if (EC_KEY_get0_private_key(ec)) |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:1048:37: note: declared here |
| 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); |
| | ^~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_group_initialize': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:577:13: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 577 | group = PEM_read_bio_ECPKParameters(in, NULL, NULL, NULL); |
| | ^~~~~ |
| In file included from /usr/include/openssl/ssl.h:36, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/pem.h:461:1: note: declared here |
| 461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_group_to_string': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:1023:9: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 1023 | i = PEM_write_bio_ECPKParameters(out, group); |
| | ^ |
| In file included from /usr/include/openssl/ssl.h:36, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/pem.h:461:1: note: declared here |
| 461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_group_to_text': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:1081:5: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 1081 | if (!ECPKParameters_print(out, group, 0)) { |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:926:27: note: declared here |
| 926 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: In function 'ossl_ec_point_initialize': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:1168:13: warning: 'EC_POINT_bn2point' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 1168 | point = EC_POINT_bn2point(group, GetBNPtr(arg2), NULL, ossl_bn_ctx); |
| | ^~~~~ |
| In file included from /usr/include/openssl/x509.h:33, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c:5: |
| /usr/include/openssl/ec.h:774:33: note: declared here |
| 774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_ec.c: At top level: |
| cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'DSA_HAS_PRIVATE': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:30:5: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 30 | DSA_get0_key(dsa, NULL, &bn); |
| | ^~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:204:28: note: declared here |
| 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_initialize': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:99:9: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 99 | dsa = DSA_new(); |
| | ^~~ |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:125:28: note: declared here |
| 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); |
| | ^~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:110:5: warning: 'd2i_DSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 110 | dsa = (DSA *)PEM_ASN1_read_bio((d2i_of_void *)d2i_DSAPublicKey, |
| | ^~~ |
| In file included from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:23, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:148:1: note: declared here |
| 148 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:133:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 133 | if (!pkey || EVP_PKEY_assign_DSA(pkey, dsa) != 1) { |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1328:5: note: declared here |
| 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); |
| | ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:135:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 135 | DSA_free(dsa); |
| | ^~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:127:28: note: declared here |
| 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); |
| | ^~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_is_public': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:185:5: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 185 | GetDSA(self, dsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:185:5: note: in expansion of macro 'GetDSA' |
| 185 | GetDSA(self, dsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:186:5: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 186 | DSA_get0_key(dsa, &bn, NULL); |
| | ^~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:204:28: note: declared here |
| 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_is_private': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:203:5: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 203 | GetDSA(self, dsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:203:5: note: in expansion of macro 'GetDSA' |
| 203 | GetDSA(self, dsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_export': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:230:5: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 230 | GetDSA(self, dsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:230:5: note: in expansion of macro 'GetDSA' |
| 230 | GetDSA(self, dsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_to_der': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:249:5: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 249 | GetDSA(self, dsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:249:5: note: in expansion of macro 'GetDSA' |
| 249 | GetDSA(self, dsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_get_params': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:272:5: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 272 | GetDSA(self, dsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:272:5: note: in expansion of macro 'GetDSA' |
| 272 | GetDSA(self, dsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:273:5: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 273 | DSA_get0_pqg(dsa, &p, &q, &g); |
| | ^~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:201:28: note: declared here |
| 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:274:5: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 274 | DSA_get0_key(dsa, &pub_key, &priv_key); |
| | ^~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:204:28: note: declared here |
| 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_get_p': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 293 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:106:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 106 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 293 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:201:28: note: declared here |
| 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_get_q': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 293 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:108:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 108 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 293 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:201:28: note: declared here |
| 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_get_g': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 293 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:110:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 110 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 293 | OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:201:28: note: declared here |
| 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_get_pub_key': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:301:1: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 301 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:114:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 114 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:198:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| 198 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:301:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF2' |
| 301 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:301:1: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:204:28: note: declared here |
| 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: In function 'ossl_dsa_get_priv_key': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:301:1: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 301 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/evp.h:1355:22: note: declared here |
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetDSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:116:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 116 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:198:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| 198 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:301:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF2' |
| 301 | OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:301:1: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:37, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c:10: |
| /usr/include/openssl/dsa.h:204:28: note: declared here |
| 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_dsa.c: At top level: |
| cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'RSA_HAS_PRIVATE': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:31:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 31 | RSA_get0_key(rsa, NULL, &e, &d); |
| | ^~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:217:28: note: declared here |
| 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_initialize': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:92:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 92 | rsa = RSA_new(); |
| | ^~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:201:28: note: declared here |
| 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); |
| | ^~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:103:5: warning: 'd2i_RSAPublicKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 103 | rsa = d2i_RSAPublicKey_bio(in, NULL); |
| | ^~~ |
| In file included from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/x509.h:618:28: note: declared here |
| 618 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa); |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:107:5: warning: 'PEM_read_bio_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 107 | rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL); |
| | ^~~ |
| In file included from /usr/include/openssl/ssl.h:36, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/pem.h:448:1: note: declared here |
| 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:129:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 129 | if (!pkey || EVP_PKEY_assign_RSA(pkey, rsa) != 1) { |
| | ^~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1328:5: note: declared here |
| 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); |
| | ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:131:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 131 | RSA_free(rsa); |
| | ^~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:293:28: note: declared here |
| 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); |
| | ^~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_is_public': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:179:5: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 179 | GetRSA(self, rsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:179:5: note: in expansion of macro 'GetRSA' |
| 179 | GetRSA(self, rsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_is_private': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:198:5: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 198 | GetRSA(self, rsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:198:5: note: in expansion of macro 'GetRSA' |
| 198 | GetRSA(self, rsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'can_export_rsaprivatekey': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:209:5: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 209 | GetRSA(self, rsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:209:5: note: in expansion of macro 'GetRSA' |
| 209 | GetRSA(self, rsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:211:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 211 | RSA_get0_key(rsa, &n, &e, &d); |
| | ^~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:217:28: note: declared here |
| 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:212:5: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 212 | RSA_get0_factors(rsa, &p, &q); |
| | ^~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:220:28: note: declared here |
| 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:213:5: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 213 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); |
| | ^~~~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:225:28: note: declared here |
| 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_params': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:460:5: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 460 | GetRSA(self, rsa); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:460:5: note: in expansion of macro 'GetRSA' |
| 460 | GetRSA(self, rsa); |
| | ^~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:461:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 461 | RSA_get0_key(rsa, &n, &e, &d); |
| | ^~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:217:28: note: declared here |
| 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:462:5: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 462 | RSA_get0_factors(rsa, &p, &q); |
| | ^~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:220:28: note: declared here |
| 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:463:5: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 463 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); |
| | ^~~~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:225:28: note: declared here |
| 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_n': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 485 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetRSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:106:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 106 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 485 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:217:28: note: declared here |
| 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_e': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 485 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetRSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:108:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 108 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 485 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:217:28: note: declared here |
| 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_d': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 485 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetRSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:110:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 110 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 485 | OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:217:28: note: declared here |
| 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_p': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:493:1: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 493 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetRSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:114:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 114 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:198:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| 198 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:493:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF2' |
| 493 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:493:1: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:220:28: note: declared here |
| 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_q': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:493:1: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 493 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetRSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:116:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 116 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:198:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| 198 | OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:493:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF2' |
| 493 | OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:493:1: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:220:28: note: declared here |
| 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_dmp1': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 503 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetRSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:106:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 106 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 503 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:225:28: note: declared here |
| 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_dmq1': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 503 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetRSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:108:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 108 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 503 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:225:28: note: declared here |
| 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: In function 'ossl_rsa_get_iqmp': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 503 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| | ^~~~~~~~~~~~~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/evp.h:1346:22: note: declared here |
| 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:23:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 23 | (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| | ^ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:98:9: note: in expansion of macro 'GetRSA' |
| 98 | Get##_type(self, obj); \ |
| | ^~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:110:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| 110 | OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey.h:194:9: note: in expansion of macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| 194 | OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| | ^~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: note: in expansion of macro 'OSSL_PKEY_BN_DEF3' |
| 503 | OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| In file included from /usr/include/openssl/x509.h:36, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c:10: |
| /usr/include/openssl/rsa.h:225:28: note: declared here |
| 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_pkey_rsa.c: At top level: |
| cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_ssl.c: In function 'ossl_tmp_dh_callback': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_ssl.c:294:5: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 294 | return EVP_PKEY_get0_DH(pkey); |
| | ^~~~~~ |
| In file included from /usr/include/openssl/x509.h:29, |
| from /usr/include/openssl/x509v3.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:24, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_ssl.c:12: |
| /usr/include/openssl/evp.h:1363:43: note: declared here |
| 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_ssl.c:294:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] |
| 294 | return EVP_PKEY_get0_DH(pkey); |
| | ^~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_ssl.c: In function 'ossl_sslctx_setup': |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_ssl.c:817:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] |
| 817 | SSL_CTX_set_tmp_dh_callback(ctx, ossl_tmp_dh_callback); |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| In file included from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl.h:25, |
| from /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_ssl.c:12: |
| /usr/include/openssl/ssl.h:2216:6: note: declared here |
| 2216 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat50/ext/openssl/ossl_ssl.c: At top level: |
| cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics |
| "make install -j4" exit with 0. |
| "make yes-btest TESTOPTS='-q -j4'" exit with 0. |
| |
| "make yes-test-basic TESTS=--repeat-count=50" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS=--repeat-count=50" exit with 512. |
| 1) Failure: |
| OpenSSL::TestPKey#test_s_generate_parameters [/tmp/ruby/src/trunk-repeat50/test/openssl/test_pkey.rb:44]: |
| RuntimeError expected but nothing was raised. |
| make: *** [uncommon.mk:855: yes-test-all] Error 1 |
| "make yes-test-rubyspec TESTS=--repeat-count=50" exit with 0. |
| $ /tmp/ruby/build/trunk-repeat50/miniruby -I/tmp/ruby/src/trunk-repeat50/lib /tmp/ruby/src/trunk-repeat50/tool/runruby.rb --archdir=/tmp/ruby/build/trunk-repeat50 --extout=.ext -- /tmp/ruby/src/trunk-repeat50/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk-repeat50/spec/default.mspec |