| "make update-unicode -j4" exit with 0. |
| "make update-download -j4" exit with 0. |
| "make update-rubyspec -j4" exit with 0. |
| "make update-src -j4" exit with 0. |
| From https://github.com/ruby/ruby |
| 3ded50a..0efa36a master -> origin/master |
| "make after-update -j4" exit with 0. |
| "make miniruby -j4" exit with 0. |
| "make ruby -j4" exit with 0. |
| "make all -j4" exit with 0. |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:87:14: warning: 'DH_new' is deprecated [-Wdeprecated-declarations] |
| dh = DH_new(); |
| ^ |
| /usr/include/openssl/dh.h:199:1: note: 'DH_new' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:100:10: warning: 'DH_new' is deprecated [-Wdeprecated-declarations] |
| dh = d2i_DHparams_bio(in, NULL); |
| ^ |
| /usr/include/openssl/dh.h:174:29: note: expanded from macro 'd2i_DHparams_bio' |
| ASN1_d2i_bio_of(DH, DH_new, d2i_DHparams, bp, x) |
| ^ |
| /usr/include/openssl/dh.h:199:1: note: 'DH_new' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:100:10: warning: 'd2i_DHparams' is deprecated [-Wdeprecated-declarations] |
| dh = d2i_DHparams_bio(in, NULL); |
| ^ |
| /usr/include/openssl/dh.h:174:37: note: expanded from macro 'd2i_DHparams_bio' |
| ASN1_d2i_bio_of(DH, DH_new, d2i_DHparams, bp, x) |
| ^ |
| /usr/include/openssl/dh.h:229:41: note: 'd2i_DHparams' has been explicitly marked deprecated here |
| DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:121:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations] |
| if (!pkey || EVP_PKEY_assign_DH(pkey, dh) != 1) { |
| ^ |
| /usr/include/openssl/evp.h:506:39: note: expanded from macro 'EVP_PKEY_assign_DH' |
| # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh)) |
| ^ |
| /usr/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:123:9: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] |
| DH_free(dh); |
| ^ |
| /usr/include/openssl/dh.h:200:1: note: 'DH_free' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:184:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| GetDH(self, dh); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:184:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDH(self, dh); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:185:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations] |
| DH_get0_key(dh, &bn, NULL); |
| ^ |
| /usr/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:203:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| GetDH(self, dh); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:203:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDH(self, dh); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:204:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations] |
| DH_get0_key(dh, NULL, &bn); |
| ^ |
| /usr/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:207:19: warning: 'DH_get0_engine' is deprecated [-Wdeprecated-declarations] |
| return (bn || DH_get0_engine(dh)) ? Qtrue : Qfalse; |
| ^ |
| /usr/include/openssl/dh.h:267:1: note: 'DH_get0_engine' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 ENGINE *DH_get0_engine(DH *d); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:230:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| GetDH(self, dh); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:230:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDH(self, dh); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:234:10: warning: 'PEM_write_bio_DHparams' is deprecated [-Wdeprecated-declarations] |
| if (!PEM_write_bio_DHparams(out, dh)) { |
| ^ |
| /usr/include/openssl/pem.h:469:21: note: 'PEM_write_bio_DHparams' has been explicitly marked deprecated here |
| DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:260:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| GetDH(self, dh); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:260:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDH(self, dh); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:261:15: warning: 'i2d_DHparams' is deprecated [-Wdeprecated-declarations] |
| if((len = i2d_DHparams(dh, NULL)) <= 0) |
| ^ |
| /usr/include/openssl/dh.h:229:41: note: 'i2d_DHparams' has been explicitly marked deprecated here |
| DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:265:8: warning: 'i2d_DHparams' is deprecated [-Wdeprecated-declarations] |
| if(i2d_DHparams(dh, &p) < 0) |
| ^ |
| /usr/include/openssl/dh.h:229:41: note: 'i2d_DHparams' has been explicitly marked deprecated here |
| DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:287:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| GetDH(self, dh); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:287:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDH(self, dh); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:288:5: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations] |
| DH_get0_pqg(dh, &p, &q, &g); |
| ^ |
| /usr/include/openssl/dh.h:253:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:289:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations] |
| DH_get0_key(dh, &pub_key, &priv_key); |
| ^ |
| /usr/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:131:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:131:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:107:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, &bn, NULL, NULL)) \ |
| ^ |
| <scratch space>:127:1: note: expanded from here |
| DH_get0_pqg |
| ^ |
| /usr/include/openssl/dh.h:253:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:137:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:137:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:109:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, NULL, &bn, NULL)) \ |
| ^ |
| <scratch space>:133:1: note: expanded from here |
| DH_get0_pqg |
| ^ |
| /usr/include/openssl/dh.h:253:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:143:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:143:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, NULL, NULL, &bn)) |
| ^ |
| <scratch space>:139:1: note: expanded from here |
| DH_get0_pqg |
| ^ |
| /usr/include/openssl/dh.h:253:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:357:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:154:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:357:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:154:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:357:1: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| _type##_get0_##_group(obj, &bn, NULL)) \ |
| ^ |
| <scratch space>:150:1: note: expanded from here |
| DH_get0_key |
| ^ |
| /usr/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:357:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:160:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:357:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:160:1: note: expanded from here |
| GetDH |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH' |
| (dh) = EVP_PKEY_get0_DH(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dh.c:357:1: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:117:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| _type##_get0_##_group(obj, NULL, &bn)) |
| ^ |
| <scratch space>:156:1: note: expanded from here |
| DH_get0_key |
| ^ |
| /usr/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| 38 warnings generated. |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:30:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| DSA_get0_key(dsa, NULL, &bn); |
| ^ |
| /usr/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:99:15: warning: 'DSA_new' is deprecated [-Wdeprecated-declarations] |
| dsa = DSA_new(); |
| ^ |
| /usr/include/openssl/dsa.h:125:1: note: 'DSA_new' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:110:51: warning: 'd2i_DSAPublicKey' is deprecated [-Wdeprecated-declarations] |
| dsa = (DSA *)PEM_ASN1_read_bio((d2i_of_void *)d2i_DSAPublicKey, |
| ^ |
| /usr/include/openssl/dsa.h:148:41: note: 'd2i_DSAPublicKey' has been explicitly marked deprecated here |
| DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:133:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations] |
| if (!pkey || EVP_PKEY_assign_DSA(pkey, dsa) != 1) { |
| ^ |
| /usr/include/openssl/evp.h:501:41: note: expanded from macro 'EVP_PKEY_assign_DSA' |
| # define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\ |
| ^ |
| /usr/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:135:9: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations] |
| DSA_free(dsa); |
| ^ |
| /usr/include/openssl/dsa.h:127:1: note: 'DSA_free' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:185:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| GetDSA(self, dsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:185:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDSA(self, dsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:186:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| DSA_get0_key(dsa, &bn, NULL); |
| ^ |
| /usr/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:203:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| GetDSA(self, dsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:203:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDSA(self, dsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:230:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| GetDSA(self, dsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:230:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDSA(self, dsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:249:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| GetDSA(self, dsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:249:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDSA(self, dsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:272:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| GetDSA(self, dsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:272:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetDSA(self, dsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:273:5: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations] |
| DSA_get0_pqg(dsa, &p, &q, &g); |
| ^ |
| /usr/include/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:274:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| DSA_get0_key(dsa, &pub_key, &priv_key); |
| ^ |
| /usr/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:131:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:131:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:107:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, &bn, NULL, NULL)) \ |
| ^ |
| <scratch space>:127:1: note: expanded from here |
| DSA_get0_pqg |
| ^ |
| /usr/include/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:137:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:137:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:109:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, NULL, &bn, NULL)) \ |
| ^ |
| <scratch space>:133:1: note: expanded from here |
| DSA_get0_pqg |
| ^ |
| /usr/include/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:143:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:143:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, NULL, NULL, &bn)) |
| ^ |
| <scratch space>:139:1: note: expanded from here |
| DSA_get0_pqg |
| ^ |
| /usr/include/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:301:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:154:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:301:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:154:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:301:1: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| _type##_get0_##_group(obj, &bn, NULL)) \ |
| ^ |
| <scratch space>:150:1: note: expanded from here |
| DSA_get0_key |
| ^ |
| /usr/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:301:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:160:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:301:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:160:1: note: expanded from here |
| GetDSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA' |
| (dsa) = EVP_PKEY_get0_DSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_dsa.c:301:1: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:117:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| _type##_get0_##_group(obj, NULL, &bn)) |
| ^ |
| <scratch space>:156:1: note: expanded from here |
| DSA_get0_key |
| ^ |
| /usr/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| 33 warnings generated. |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:74:13: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations] |
| if (!(ec = EC_KEY_new())) |
| ^ |
| /usr/include/openssl/ec.h:968:1: note: 'EC_KEY_new' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:77:7: warning: 'EC_KEY_set_group' is deprecated [-Wdeprecated-declarations] |
| if (!EC_KEY_set_group(ec, group)) { |
| ^ |
| /usr/include/openssl/ec.h:1042:1: note: 'EC_KEY_set_group' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:78:6: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] |
| EC_KEY_free(ec); |
| ^ |
| /usr/include/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:87:13: warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations] |
| if (!(ec = EC_KEY_new_by_curve_name(nid))) |
| ^ |
| /usr/include/openssl/ec.h:998:1: note: 'EC_KEY_new_by_curve_name' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:90:2: warning: 'EC_KEY_set_asn1_flag' is deprecated [-Wdeprecated-declarations] |
| EC_KEY_set_asn1_flag(ec, OPENSSL_EC_NAMED_CURVE); |
| ^ |
| /usr/include/openssl/ec.h:1087:1: note: 'EC_KEY_set_asn1_flag' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:91:2: warning: 'EC_KEY_set_conv_form' is deprecated [-Wdeprecated-declarations] |
| EC_KEY_set_conv_form(ec, POINT_CONVERSION_UNCOMPRESSED); |
| ^ |
| /usr/include/openssl/ec.h:1075:1: note: 'EC_KEY_set_conv_form' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:115:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations] |
| if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, ec) != 1) { |
| ^ |
| /usr/include/openssl/evp.h:512:9: note: expanded from macro 'EVP_PKEY_assign_EC_KEY' |
| EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey)) |
| ^ |
| /usr/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:117:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] |
| EC_KEY_free(ec); |
| ^ |
| /usr/include/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:122:10: warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations] |
| if (!EC_KEY_generate_key(ec)) |
| ^ |
| /usr/include/openssl/ec.h:1101:1: note: 'EC_KEY_generate_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:153:20: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations] |
| if (!(ec = EC_KEY_new())) |
| ^ |
| /usr/include/openssl/ec.h:968:1: note: 'EC_KEY_new' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:184:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations] |
| if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, ec) != 1) { |
| ^ |
| /usr/include/openssl/evp.h:512:9: note: expanded from macro 'EVP_PKEY_assign_EC_KEY' |
| EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey)) |
| ^ |
| /usr/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:186:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] |
| EC_KEY_free(ec); |
| ^ |
| /usr/include/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:233:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations] |
| GetEC(self, ec); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:233:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetEC(self, ec); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:234:13: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations] |
| group = EC_KEY_get0_group(ec); |
| ^ |
| /usr/include/openssl/ec.h:1034:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:278:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations] |
| GetEC(self, ec); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:278:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetEC(self, ec); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:279:15: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations] |
| if ((bn = EC_KEY_get0_private_key(ec)) == NULL) |
| ^ |
| /usr/include/openssl/ec.h:1048:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:329:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations] |
| GetEC(self, ec); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:329:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetEC(self, ec); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:330:18: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations] |
| if ((point = EC_KEY_get0_public_key(ec)) == NULL) |
| ^ |
| /usr/include/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:333:32: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations] |
| return ec_point_new(point, EC_KEY_get0_group(ec)); |
| ^ |
| /usr/include/openssl/ec.h:1034:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:380:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations] |
| GetEC(self, ec); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:380:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetEC(self, ec); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:382:12: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations] |
| return EC_KEY_get0_public_key(ec) ? Qtrue : Qfalse; |
| ^ |
| /usr/include/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:396:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations] |
| GetEC(self, ec); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:396:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetEC(self, ec); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:398:12: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations] |
| return EC_KEY_get0_private_key(ec) ? Qtrue : Qfalse; |
| ^ |
| /usr/include/openssl/ec.h:1048:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:416:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations] |
| GetEC(self, ec); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:416:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetEC(self, ec); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:417:9: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations] |
| if (EC_KEY_get0_public_key(ec) == NULL) |
| ^ |
| /usr/include/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:419:9: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations] |
| if (EC_KEY_get0_private_key(ec)) |
| ^ |
| /usr/include/openssl/ec.h:1048:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:436:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations] |
| GetEC(self, ec); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:436:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetEC(self, ec); |
| ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC' |
| (key) = EVP_PKEY_get0_EC_KEY(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:437:9: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations] |
| if (EC_KEY_get0_public_key(ec) == NULL) |
| ^ |
| /usr/include/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:439:9: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations] |
| if (EC_KEY_get0_private_key(ec)) |
| ^ |
| /usr/include/openssl/ec.h:1048:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:577:21: warning: 'PEM_read_bio_ECPKParameters' is deprecated [-Wdeprecated-declarations] |
| group = PEM_read_bio_ECPKParameters(in, NULL, NULL, NULL); |
| ^ |
| /usr/include/openssl/pem.h:461:21: note: 'PEM_read_bio_ECPKParameters' has been explicitly marked deprecated here |
| DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:1023:13: warning: 'PEM_write_bio_ECPKParameters' is deprecated [-Wdeprecated-declarations] |
| i = PEM_write_bio_ECPKParameters(out, group); |
| ^ |
| /usr/include/openssl/pem.h:461:21: note: 'PEM_write_bio_ECPKParameters' has been explicitly marked deprecated here |
| DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:1081:10: warning: 'ECPKParameters_print' is deprecated [-Wdeprecated-declarations] |
| if (!ECPKParameters_print(out, group, 0)) { |
| ^ |
| /usr/include/openssl/ec.h:926:1: note: 'ECPKParameters_print' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_ec.c:1168:14: warning: 'EC_POINT_bn2point' is deprecated [-Wdeprecated-declarations] |
| point = EC_POINT_bn2point(group, GetBNPtr(arg2), NULL, ossl_bn_ctx); |
| ^ |
| /usr/include/openssl/ec.h:774:1: note: 'EC_POINT_bn2point' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| 40 warnings generated. |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:31:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| RSA_get0_key(rsa, NULL, &e, &d); |
| ^ |
| /usr/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:92:8: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations] |
| rsa = RSA_new(); |
| ^ |
| /usr/include/openssl/rsa.h:201:1: note: 'RSA_new' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:103:11: warning: 'd2i_RSAPublicKey_bio' is deprecated [-Wdeprecated-declarations] |
| rsa = d2i_RSAPublicKey_bio(in, NULL); |
| ^ |
| /usr/include/openssl/x509.h:618:1: note: 'd2i_RSAPublicKey_bio' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:107:11: warning: 'PEM_read_bio_RSAPublicKey' is deprecated [-Wdeprecated-declarations] |
| rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL); |
| ^ |
| /usr/include/openssl/pem.h:448:21: note: 'PEM_read_bio_RSAPublicKey' has been explicitly marked deprecated here |
| DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:129:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations] |
| if (!pkey || EVP_PKEY_assign_RSA(pkey, rsa) != 1) { |
| ^ |
| /usr/include/openssl/evp.h:496:41: note: expanded from macro 'EVP_PKEY_assign_RSA' |
| # define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\ |
| ^ |
| /usr/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:131:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] |
| RSA_free(rsa); |
| ^ |
| /usr/include/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:179:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| GetRSA(self, rsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:179:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetRSA(self, rsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:198:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| GetRSA(self, rsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:198:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetRSA(self, rsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:209:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| GetRSA(self, rsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:209:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetRSA(self, rsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:211:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| RSA_get0_key(rsa, &n, &e, &d); |
| ^ |
| /usr/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:212:5: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations] |
| RSA_get0_factors(rsa, &p, &q); |
| ^ |
| /usr/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:213:5: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations] |
| RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); |
| ^ |
| /usr/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:460:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| GetRSA(self, rsa); |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:460:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| GetRSA(self, rsa); |
| ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:461:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| RSA_get0_key(rsa, &n, &e, &d); |
| ^ |
| /usr/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:462:5: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations] |
| RSA_get0_factors(rsa, &p, &q); |
| ^ |
| /usr/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:463:5: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations] |
| RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); |
| ^ |
| /usr/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:131:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:131:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:107:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, &bn, NULL, NULL)) \ |
| ^ |
| <scratch space>:127:1: note: expanded from here |
| RSA_get0_key |
| ^ |
| /usr/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:137:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:137:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:109:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, NULL, &bn, NULL)) \ |
| ^ |
| <scratch space>:133:1: note: expanded from here |
| RSA_get0_key |
| ^ |
| /usr/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:143:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:143:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, NULL, NULL, &bn)) |
| ^ |
| <scratch space>:139:1: note: expanded from here |
| RSA_get0_key |
| ^ |
| /usr/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:493:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:154:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:493:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:154:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:493:1: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| _type##_get0_##_group(obj, &bn, NULL)) \ |
| ^ |
| <scratch space>:150:1: note: expanded from here |
| RSA_get0_factors |
| ^ |
| /usr/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:493:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:160:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:493:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:160:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:493:1: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2' |
| OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:117:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2' |
| _type##_get0_##_group(obj, NULL, &bn)) |
| ^ |
| <scratch space>:156:1: note: expanded from here |
| RSA_get0_factors |
| ^ |
| /usr/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:171:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:171:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:107:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, &bn, NULL, NULL)) \ |
| ^ |
| <scratch space>:167:1: note: expanded from here |
| RSA_get0_crt_params |
| ^ |
| /usr/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:177:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:177:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:109:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, NULL, &bn, NULL)) \ |
| ^ |
| <scratch space>:173:1: note: expanded from here |
| RSA_get0_crt_params |
| ^ |
| /usr/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^ |
| <scratch space>:183:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ |
| /usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \ |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0' |
| Get##_type(self, obj); \ |
| ^~~~~~~~~~~~~~~~~~~~~ |
| <scratch space>:183:1: note: expanded from here |
| GetRSA |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA' |
| (rsa) = EVP_PKEY_get0_RSA(_pkey); \ |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations] |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3' |
| OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \ |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3' |
| _type##_get0_##_group(obj, NULL, NULL, &bn)) |
| ^ |
| <scratch space>:179:1: note: expanded from here |
| RSA_get0_crt_params |
| ^ |
| /usr/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| 44 warnings generated. |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_ssl.c:294:12: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations] |
| return EVP_PKEY_get0_DH(pkey); |
| ^ |
| /usr/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_ssl.c:294:12: warning: returning 'const struct dh_st *' from a function with result type 'DH *' (aka 'struct dh_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] |
| return EVP_PKEY_get0_DH(pkey); |
| ^~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk_clang_12/ext/openssl/ossl_ssl.c:817:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated [-Wdeprecated-declarations] |
| SSL_CTX_set_tmp_dh_callback(ctx, ossl_tmp_dh_callback); |
| ^ |
| /usr/include/openssl/ssl.h:2215:1: note: 'SSL_CTX_set_tmp_dh_callback' has been explicitly marked deprecated here |
| OSSL_DEPRECATEDIN_3_0 |
| ^ |
| /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' |
| # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) |
| ^ |
| /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' |
| # define OSSL_DEPRECATED(since) __attribute__((deprecated)) |
| ^ |
| 3 warnings generated. |
| "make install -j4" exit with 0. |
| "make yes-btest TESTOPTS='-q -j4'" exit with 0. |
| |
| "make yes-test-basic TESTS='-j4'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j4'" exit with 0. |
| Skipping Gem::PackageTask tests. rake not found. |
| "make yes-test-rubyspec TESTS='-j4'" exit with 0. |
| $ /tmp/ruby/build/trunk_clang_12/miniruby -I/tmp/ruby/src/trunk_clang_12/lib /tmp/ruby/src/trunk_clang_12/tool/runruby.rb --archdir=/tmp/ruby/build/trunk_clang_12 --extout=.ext -- /tmp/ruby/src/trunk_clang_12/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk_clang_12/spec/default.mspec |