Encrypt.c: In function 'RsaVerifyEx': Encrypt.c:2471:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2471 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1363:22: note: declared here 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ Encrypt.c:2471:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2471 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^ Encrypt.c:2477:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2477 | decrypt_data = ZeroMalloc(RSA_size(rsa)); | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ Encrypt.c:2487:9: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2487 | if (RSA_public_decrypt(bits / 8, sign, decrypt_data, rsa, RSA_PKCS1_PADDING) <= 0) | ^~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'RsaSignEx': Encrypt.c:2532:9: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2532 | if (RSA_private_encrypt(sizeof(hash), hash, dst, EVP_PKEY_get0_RSA(k->pkey), RSA_PKCS1_PADDING) <= 0) | ^~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ Encrypt.c:2532:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2532 | if (RSA_private_encrypt(sizeof(hash), hash, dst, EVP_PKEY_get0_RSA(k->pkey), RSA_PKCS1_PADDING) <= 0) | ^~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1363:22: note: declared here 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ Encrypt.c:2532:58: warning: passing argument 4 of 'RSA_private_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2532 | if (RSA_private_encrypt(sizeof(hash), hash, dst, EVP_PKEY_get0_RSA(k->pkey), RSA_PKCS1_PADDING) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:297:30: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 297 | RSA *rsa, int padding); | ~~~~~^~~ Encrypt.c: In function 'RsaPublicDecrypt': Encrypt.c:2578:17: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2578 | ret = RSA_public_decrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ Encrypt.c:2578:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2578 | ret = RSA_public_decrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1363:22: note: declared here 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ Network.c: In function 'NewSslPipeEx': Encrypt.c:2578:58: warning: passing argument 4 of 'RSA_public_decrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2578 | ret = RSA_public_decrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:300:29: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 300 | RSA *rsa, int padding); | ~~~~~^~~ Encrypt.c: In function 'RsaPrivateEncrypt': make[4]: *** [Makefile:498: Secure.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... Encrypt.c:2609:17: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2609 | ret = RSA_private_encrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ Network.c:6009:25: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 6009 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c:2609:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2609 | ret = RSA_private_encrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1363:22: note: declared here 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ In file included from Network.c:134: /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Network.c:6021:25: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 6021 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_client_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c:2609:59: warning: passing argument 4 of 'RSA_private_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2609 | ret = RSA_private_encrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:297:30: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 297 | RSA *rsa, int padding); | ~~~~~^~~ Encrypt.c: In function 'RsaPrivateDecrypt': Encrypt.c:2640:17: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2640 | ret = RSA_private_decrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:302:5: note: declared here 302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ Encrypt.c:2640:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2640 | ret = RSA_private_decrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1363:22: note: declared here 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ Encrypt.c:2640:59: warning: passing argument 4 of 'RSA_private_decrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2640 | ret = RSA_private_decrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:303:30: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 303 | RSA *rsa, int padding); | ~~~~~^~~ Encrypt.c: In function 'RsaPublicEncrypt': Encrypt.c:2668:17: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2668 | ret = RSA_public_encrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ Encrypt.c:2668:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2668 | ret = RSA_public_encrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1363:22: note: declared here 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ Encrypt.c:2668:58: warning: passing argument 4 of 'RSA_public_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2668 | ret = RSA_public_encrypt(size, src, tmp, EVP_PKEY_get0_RSA(k->pkey), RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:294:29: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 294 | RSA *rsa, int padding); | ~~~~~^~~ Encrypt.c: In function 'RsaCheck': Encrypt.c:2713:17: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 2713 | rsa = RSA_generate_key(bit, RSA_F4, NULL, NULL); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ Encrypt.c:2726:17: warning: 'i2d_RSAPrivateKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2726 | i2d_RSAPrivateKey_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:635:27: note: declared here 635 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~ Encrypt.c:2737:17: warning: 'i2d_RSA_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2737 | i2d_RSA_PUBKEY_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:639:27: note: declared here 639 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~ Encrypt.c:2744:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2744 | RSA_free(rsa); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ Encrypt.c: In function 'RsaGen': Encrypt.c:2783:17: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 2783 | rsa = RSA_generate_key(bit, RSA_F4, NULL, NULL); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ Encrypt.c:2796:17: warning: 'i2d_RSAPrivateKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2796 | i2d_RSAPrivateKey_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:635:27: note: declared here 635 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~ Encrypt.c:2807:17: warning: 'i2d_RSA_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2807 | i2d_RSA_PUBKEY_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:639:27: note: declared here 639 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~ libtool: compile: /home/buildroot/instance-0/output-1/host/bin/sh4eb-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include -DNDEBUG -DVPN_SPEED -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -c Tracking.c -fPIC -DPIC -o .libs/Tracking.o Encrypt.c:2817:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2817 | RSA_free(rsa); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ Encrypt.c: In function 'X509ToX': Encrypt.c:3898:49: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 3898 | char *uri = (char *)ASN1_STRING_data(ad->location->d.uniformResourceIdentifier); | ^~~~ In file included from /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/objects.h:21, from /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:44: /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/asn1.h:683:40: note: declared here 683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ Network.c: In function 'StartSSLEx': Encrypt.c: In function 'FreeOpenSSLThreadState': Encrypt.c:4111:9: warning: 'ERR_remove_state' is deprecated: Since OpenSSL 1.0.0 [-Wdeprecated-declarations] 4111 | ERR_remove_state(0); | ^~~~~~~~~~~~~~~~ In file included from Encrypt.c:119: /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/err.h:488:30: note: declared here 488 | OSSL_DEPRECATEDIN_1_0_0 void ERR_remove_state(unsigned long pid); | ^~~~~~~~~~~~~~~~ Network.c:13215:25: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13215 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'Hash': /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c:4201:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4201 | MD5(src, size, dst); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ Encrypt.c: In function 'HashMd4': Network.c:13260:33: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13260 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c:4218:9: warning: 'MD4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4218 | MD4(src, size, dst); | ^~~ In file included from Encrypt.c:128: /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/md4.h:53:38: note: declared here 53 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD4(const unsigned char *d, size_t n, | ^~~ Encrypt.c: In function 'NewCrypt': Encrypt.c:4270:9: warning: 'RC4_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4270 | RC4_set_key(c->Rc4Key, size, (UCHAR *)key); | ^~~~~~~~~~~ In file included from Encrypt.c:126: /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rc4.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, | ^~~~~~~~~~~ Network.c:13265:33: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13265 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_client_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'Encrypt': Encrypt.c:4292:9: warning: 'RC4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4292 | RC4(c->Rc4Key, size, src, dst); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ Encrypt.c: In function 'Md5': Encrypt.c:4357:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4357 | MD5(src, size, dst); | ^~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ Encrypt.c: In function 'Des3Encrypt': Encrypt.c:4372:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4372 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ In file included from Encrypt.c:131: /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'Des3Encrypt2': Encrypt.c:4390:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4390 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'DesEncrypt': Encrypt.c:4410:9: warning: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4410 | DES_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:89:6: note: declared here 89 | void DES_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'Des3Decrypt': Encrypt.c:4428:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4428 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'Des3Decrypt2': Encrypt.c:4446:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4446 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'DesEcbEncrypt': Encrypt.c:4480:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4480 | DES_set_odd_parity(&key); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ Network.c: In function 'NewSSLCtx': Encrypt.c:4481:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4481 | DES_set_key_unchecked(&key, &ks); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ Encrypt.c:4483:9: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4483 | DES_ecb_encrypt(src, dst, &ks, 1); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'DesDecrypt': Network.c:18144:9: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 18144 | SSL_CTX_set_tmp_dh_callback(ctx, TmpDhCallback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:2256:6: note: declared here 2256 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c:4498:9: warning: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4498 | DES_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:89:6: note: declared here 89 | void DES_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'DesNewKeyValue': Encrypt.c:4591:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4591 | DES_set_key_unchecked(value, v->KeySchedule); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'DesRandKeyValue': Encrypt.c:4601:9: warning: 'DES_random_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4601 | DES_random_key((DES_cblock *)key_value); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/des.h:175:27: note: declared here 175 | OSSL_DEPRECATEDIN_3_0 int DES_random_key(DES_cblock *ret); | ^~~~~~~~~~~~~~ Encrypt.c: In function 'AesNewKey': Encrypt.c:4637:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4637 | AES_set_encrypt_key(data, size * 8, k->EncryptKey); | ^~~~~~~~~~~~~~~~~~~ In file included from Encrypt.c:132: /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ Encrypt.c:4638:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4638 | AES_set_decrypt_key(data, size * 8, k->DecryptKey); | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'AesEncrypt': Encrypt.c:4678:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4678 | AES_cbc_encrypt(src, dest, size, k->EncryptKey, ivec, 1); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'AesDecrypt': Encrypt.c:4701:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4701 | AES_cbc_encrypt(src, dest, size, k->DecryptKey, ivec, 0); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'DhCompute': Encrypt.c:4876:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4876 | i = DH_compute_key(dst_priv_key, bn, dh->dh); | ^ In file included from /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/dsa.h:31, from /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:37: /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:235:27: note: declared here 235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ Encrypt.c: In function 'DhToBuf': Encrypt.c:4952:9: warning: 'i2d_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4952 | r = i2d_DHparams_bio(bio, dh->dh); | ^ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:240:1: note: declared here 240 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'DhNew': Encrypt.c:4982:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4982 | dh->dh = DH_new(); | ^~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ Encrypt.c:4987:9: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4987 | DH_set0_pqg(dh->dh, dhp, NULL, dhg); | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ Encrypt.c:4994:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4994 | DH_generate_key(dh->dh); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:234:27: note: declared here 234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ libtool: compile: /home/buildroot/instance-0/output-1/host/bin/sh4eb-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include -DNDEBUG -DVPN_SPEED -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -c Win32.c -fPIC -DPIC -o .libs/Win32.o Encrypt.c:4997:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4997 | DH_get0_key(dh->dh, &pub, &priv); | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ Encrypt.c: In function 'DhFree': Encrypt.c:5021:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5021 | DH_free(dh->dh); | ^~~~~~~ /home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ libtool: compile: /home/buildroot/instance-0/output-1/host/bin/sh4eb-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/sh4eb-buildroot-linux-gnu/sysroot/usr/include -DNDEBUG -DVPN_SPEED -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=1 -c Unix.c -fPIC -DPIC -o .libs/Unix.o Network.c: In function 'UnixWritePipe': Network.c:9519:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 9519 | write(pipe_write, &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ Network.c: In function 'UnixNewPipe': Network.c:9534:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 9534 | pipe(fd); | ^~~~~~~~ In file included from ../../src/Mayaqua/Mayaqua.h:326, from Tracking.c:114: Tracking.c: In function 'PrintObjectInfo': ../../src/Mayaqua/MayaType.h:227:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 227 | #define UINT64_TO_POINTER(i) ((sizeof(void *) == sizeof(UINT64)) ? (void *)(i) : (void *)((UINT)(i))) | ^ Tracking.c:247:33: note: in expansion of macro 'UINT64_TO_POINTER' 247 | o->Id, o->Name, UINT64_TO_POINTER(o->Address), o->Size, tmp); | ^~~~~~~~~~~~~~~~~ Tracking.c: In function 'PrintObjectList': ../../src/Mayaqua/MayaType.h:227:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 227 | #define UINT64_TO_POINTER(i) ((sizeof(void *) == sizeof(UINT64)) ? (void *)(i) : (void *)((UINT)(i))) | ^ Tracking.c:313:38: note: in expansion of macro 'UINT64_TO_POINTER' 313 | o->Id, o->Name, tmp, UINT64_TO_POINTER(o->Address), o->Size, o->FileName, o->LineNumber); | ^~~~~~~~~~~~~~~~~ Tracking.c: In function 'TrackDeleteObj': Tracking.c:534:82: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 534 | printf("TrackDeleteObj: 0x%x is not Object!!\n", (void *)addr); | ^ Tracking.c: In function 'GetCallStackStr': ../../src/Mayaqua/MayaType.h:227:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 227 | #define UINT64_TO_POINTER(i) ((sizeof(void *) == sizeof(UINT64)) ? (void *)(i) : (void *)((UINT)(i))) | ^ Tracking.c:869:70: note: in expansion of macro 'UINT64_TO_POINTER' 869 | Format(tmp, sizeof(tmp), "0x%p ---", UINT64_TO_POINTER(s->offset)); | ^~~~~~~~~~~~~~~~~ Tracking.c:874:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 874 | (void *)s->offset, s->name, UINT64_TO_POINTER(s->disp)); | ^ ../../src/Mayaqua/MayaType.h:227:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 227 | #define UINT64_TO_POINTER(i) ((sizeof(void *) == sizeof(UINT64)) ? (void *)(i) : (void *)((UINT)(i))) | ^ Tracking.c:874:69: note: in expansion of macro 'UINT64_TO_POINTER' 874 | (void *)s->offset, s->name, UINT64_TO_POINTER(s->disp)); | ^~~~~~~~~~~~~~~~~ Unix.c: In function 'UnixIgnoreSignalForThread': Unix.c:324:25: error: assignment to 'void (*)(int, siginfo_t *, void *)' from incompatible pointer type 'void * (*)(int, siginfo_t *, void *)' [-Wincompatible-pointer-types] 324 | sa.sa_sigaction = signal_received_for_ignore; | ^ Unix.c: In function 'UnixExec': Unix.c:470:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 470 | fgets(tmp, sizeof(tmp), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Unix.c: In function 'UnixInitSolarisSleep': Unix.c:506:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 506 | read(solaris_sleep_p1, tmp, sizeof(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unix.c: In function 'UnixGetCurrentDir': Unix.c:838:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 838 | getcwd(dir, size); | ^~~~~~~~~~~~~~~~~ Unix.c: In function 'UnixSetHighPriority': Unix.c:985:17: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 985 | nice(-20); | ^~~~~~~~~ Unix.c: In function 'UnixRestorePriority': Unix.c:998:17: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 998 | nice(20); | ^~~~~~~~ Unix.c: In function 'UnixStopService': Unix.c:2664:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2664 | system(tmp); | ^~~~~~~~~~~ make[4]: *** [Makefile:498: Unix.lo] Error 1 make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/softether-4.30-9700-beta/src/Mayaqua' make[3]: *** [Makefile:393: all-recursive] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/softether-4.30-9700-beta/src' make[2]: *** [Makefile:475: all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/softether-4.30-9700-beta' make[1]: *** [Makefile:406: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/softether-4.30-9700-beta' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/softether-4.30-9700-beta/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'