-
Notifications
You must be signed in to change notification settings - Fork 387
Closed
Description
We get these annoying deprecation warnings for stuff that might not even work atm.
Are we still using this code?
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/init.cpp:56:5: warning: 'RAND_set_rand_method' is deprecated [-Wdeprecated-declarations]
56 | RAND_set_rand_method(&ios_rand);
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/rand.h:49:1: note: 'RAND_set_rand_method' has been explicitly marked deprecated here
49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth);
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/init.cpp:84:7: warning: 'ERR_load_BIO_strings' is deprecated [-Wdeprecated-declarations]
84 | ERR_load_BIO_strings();
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/cryptoerr_legacy.h:31:1: note: 'ERR_load_BIO_strings' has been explicitly marked deprecated here
31 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void);
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/client.cpp:46:14: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
46 | RSA* rsa = RSA_new();
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/rsa.h:212:1: note: 'RSA_new' has been explicitly marked deprecated here
212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/client.cpp:49:30: warning: 'RSA_generate_key_ex' is deprecated [-Wdeprecated-declarations]
49 | [[maybe_unused]] int ret = RSA_generate_key_ex(rsa, bits, bne, NULL);
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/rsa.h:271:1: note: 'RSA_generate_key_ex' has been explicitly marked deprecated here
271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/client.cpp:53:9: warning: 'SSL_CTX_use_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
53 | ret = SSL_CTX_use_RSAPrivateKey(ctx, rsa);
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/ssl.h:1827:1: note: 'SSL_CTX_use_RSAPrivateKey' has been explicitly marked deprecated here
1827 | OSSL_DEPRECATEDIN_3_0
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/client.cpp:62:15: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations]
62 | auto meth = TLSv1_2_method();
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/ssl.h:2060:1: note: 'TLSv1_2_method' has been explicitly marked deprecated here
2060 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_method(void); /* TLSv1.2 */
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:228:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0'
228 | # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/server.cpp:30:17: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
30 | auto* key = PEM_read_bio_RSAPrivateKey(kbio, NULL, 0, NULL);
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/pem.h:452:24: note: 'PEM_read_bio_RSAPrivateKey' has been explicitly marked deprecated here
452 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/server.cpp:34:5: warning: 'SSL_CTX_use_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
34 | SSL_CTX_use_RSAPrivateKey(ctx, key);
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/ssl.h:1827:1: note: 'SSL_CTX_use_RSAPrivateKey' has been explicitly marked deprecated here
1827 | OSSL_DEPRECATEDIN_3_0
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
/nix/var/nix/builds/nix-1049505-3905933457/source/src/net/openssl/server.cpp:43:29: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations]
43 | auto* ctx = SSL_CTX_new(TLSv1_2_method());
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/ssl.h:2060:1: note: 'TLSv1_2_method' has been explicitly marked deprecated here
2060 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_2_method(void); /* TLSv1.2 */
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:228:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0'
228 | # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0)
| ^
/nix/store/hdgqp4ilg4w99h4srk834bcgblz0mngd-openssl-static-x86_64-unknown-linux-musl-3.4.1-dev/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
Metadata
Metadata
Assignees
Labels
No labels