>>> minisatip: Building testing/minisatip 1.3.4-r0 (using abuild 3.12.0-r4) started Fri, 15 Mar 2024 02:10:54 +0000 >>> minisatip: Checking sanity of /home/buildozer/aports/testing/minisatip/APKBUILD... >>> minisatip: Analyzing dependencies... >>> minisatip: Installing for build: build-base linux-headers openssl-dev libdvbcsa-dev (1/5) Installing linux-headers (6.6-r0) (2/5) Installing openssl-dev (3.1.5-r5) (3/5) Installing libdvbcsa (1.1.0-r1) (4/5) Installing libdvbcsa-dev (1.1.0-r1) (5/5) Installing .makedepends-minisatip (20240315.021055) OK: 390 MiB in 117 packages >>> minisatip: Cleaning up srcdir >>> minisatip: Cleaning up pkgdir >>> minisatip: Cleaning up tmpdir >>> minisatip: Fetching https://distfiles.alpinelinux.org/distfiles/edge/minisatip-1.3.4.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> minisatip: Fetching minisatip-1.3.4.tar.gz::https://github.com/catalinii/minisatip/archive/refs/tags/v1.3.4.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 421k 0 421k 0 0 686k 0 --:--:-- --:--:-- --:--:-- 686k >>> minisatip: Fetching https://distfiles.alpinelinux.org/distfiles/edge/minisatip-1.3.4.tar.gz >>> minisatip: Checking sha512sums... minisatip-1.3.4.tar.gz: OK minisatip.initd: OK minisatip.confd: OK default_document_root.patch: OK >>> minisatip: Unpacking /var/cache/distfiles/edge/minisatip-1.3.4.tar.gz... >>> minisatip: default_document_root.patch patching file src/minisatip.c Hunk #1 succeeded at 665 (offset 3 lines). checking for i586-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for main in -lrt... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes configure: == Checking LINUX DVB == checking for linux/dvb/frontend.h... yes configure: == Checking OpenSSL == checking for openssl/aes.h... yes configure: == Checking Embedded == checking for backtrace... no configure: == Checking DVBCSA == checking for dvbcsa/dvbcsa.h... yes configure: == Checking NETCVCLIENT == checking for libnetceiver/netcv/headers.h... cat: can't open 'confdefs.h': No such file or directory no configure: creating ./config.status config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating Makefile minisatip configuration Linux DVB: enabled Common Interface (CI) enabled Embedded system: enabled DVBCSA (needs libdvbcsa): enabled Netceiver support: disabled SatIP Client: enabled Static: disabled dvbapi: enabled axe: disabled CCFLAGS -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all make -C src make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.3.4/src' fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c minisatip.c -o ../build/minisatip.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c socketworks.c -o ../build/socketworks.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c stream.c -o ../build/stream.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c adapter.c -o ../build/adapter.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c httpc.c -o ../build/httpc.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c opts.c -o ../build/opts.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils.c -o ../build/utils.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c api/symbols.c -o ../build/api/symbols.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c api/variables.c -o ../build/api/variables.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/logging/logging.c -o ../build/utils/logging/logging.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/alloc.c -o ../build/utils/alloc.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/hash_table.c -o ../build/utils/hash_table.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/mutex.c -o ../build/utils/mutex.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/ticks.c -o ../build/utils/ticks.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/fifo.c -o ../build/utils/fifo.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c csa.c -o ../build/csa.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c dvbapi.c -o ../build/dvbapi.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c ca.c -o ../build/ca.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c aes.c -o ../build/aes.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c pmt.c -o ../build/pmt.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c tables.c -o ../build/tables.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c satipc.c -o ../build/satipc.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c dvb.c -o ../build/dvb.o aes.c: In function 'dvbaes_set_cw': aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ aes.c: In function 'dvbaes_decrypt_stream': aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ aes.c: In function 'aes_xcbc_mac_init': aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ aes.c: In function 'aes_xcbc_mac_process': aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ aes.c: In function 'aes_xcbc_mac_done': aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ aes.c: In function 'dh_gen_exp': aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from aes.h:7, from aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ aes.c: In function 'dh_dhph_signature': aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ aes.c: In function 'rsa_privatekey_open': aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ca.c: In function 'generate_key_seed': ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from aes.h:7, from ca.h:4, from ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ca.c: In function 'generate_SAK_SEK': ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ca.c: In function 'sac_crypt': ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ca.c: In function 'generate_akh': ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ca.c: In function 'generate_uri_confirm': ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ca.c: In function 'check_new_key': ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-trap=all -DMAJOR=\"1.3.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -o ../minisatip ../build/minisatip.o ../build/socketworks.o ../build/stream.o ../build/adapter.o ../build/httpc.o ../build/opts.o ../build/utils.o ../build/api/symbols.o ../build/api/variables.o ../build/utils/logging/logging.o ../build/utils/alloc.o ../build/utils/hash_table.o ../build/utils/mutex.o ../build/utils/ticks.o ../build/utils/fifo.o ../build/csa.o ../build/dvbapi.o ../build/ca.o ../build/aes.o ../build/pmt.o ../build/tables.o ../build/satipc.o ../build/dvb.o -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lpthread -lrt -ldl -ldvbcsa -lcrypto make[1]: Leaving directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.3.4/src' make -C src make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.3.4/src' fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git make[1]: '../minisatip' is up to date. make[1]: Leaving directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.3.4/src' make -C tests test make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.3.4/tests' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" test_opts.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_opts [15/03 02:11:22.107 test_opts]: Parsing "/tmp/camd.socket" [15/03 02:11:22.107 test_opts]: Using DVBAPI socket at /tmp/camd.socket [15/03 02:11:22.107 test_opts]: Parsing "192.168.1.100" [15/03 02:11:22.107 test_opts]: Using DVBAPI server at 192.168.1.100:9000, offset 0 [15/03 02:11:22.107 test_opts]: Parsing "~192.168.1.100" [15/03 02:11:22.107 test_opts]: Using DVBAPI server at 192.168.1.100:9000, offset 0 [15/03 02:11:22.107 test_opts]: Not filtering out encrypted packets from pids=all streams [15/03 02:11:22.107 test_opts]: Parsing "192.168.1.100:9001" [15/03 02:11:22.107 test_opts]: Using DVBAPI server at 192.168.1.100:9001, offset 0 [15/03 02:11:22.107 test_opts]: Parsing "192.168.1.100:9001,1" [15/03 02:11:22.107 test_opts]: Using DVBAPI server at 192.168.1.100:9001, offset 1 [15/03 02:11:22.107 test_opts]: Parsing "~192.168.1.100:9001,1" [15/03 02:11:22.107 test_opts]: Using DVBAPI server at 192.168.1.100:9001, offset 1 [15/03 02:11:22.107 test_opts]: Not filtering out encrypted packets from pids=all streams [15/03 02:11:22.107 test_opts]: test_parse_dvbapi_opt() OK gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" test_ca.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_ca [15/03 02:11:43.013 test_ca]: CAID string: [15/03 02:11:43.013 test_ca]: CAID string: 0B00 [15/03 02:11:43.013 test_ca]: CAID string: 0B00, 0B01, 0B02 [15/03 02:11:43.013 test_ca]: test_get_ca_caids_string() OK [15/03 02:11:43.013 test_ca]: returning new pmt 0 for adapter 0, pmt pid 100, sid 100 0064 [15/03 02:11:43.013 test_ca]: returning new pmt 1 for adapter 0, pmt pid 200, sid 200 00C8 [15/03 02:11:43.013 test_ca]: returning new pmt 2 for adapter 0, pmt pid 300, sid 300 012C [15/03 02:11:43.013 test_ca]: returning new pmt 3 for adapter 0, pmt pid 400, sid 400 0190 [15/03 02:11:43.013 test_ca]: CA 0 all channels used 1, multiple allowed 0 [15/03 02:11:43.013 test_ca]: CAPMT 0 pmts 1 -1 [15/03 02:11:43.013 test_ca]: test_multiple_pmt() OK [15/03 02:11:43.013 test_ca]: returning new pmt 4 for adapter 0, pmt pid 500, sid 500 01F4 [15/03 02:11:43.014 test_ca]: returning new pmt 5 for adapter 0, pmt pid 600, sid 600 0258 [15/03 02:11:43.014 test_ca]: CAPMT: : 0000 01 ff ff 03 00 00 ...... [15/03 02:11:43.014 test_ca]: test_create_capmt() OK [15/03 02:11:43.014 test_ca]: Expected file name: /tmp/ci_auth_Conax_CSP_CIPLUS_CAM_4.bin [15/03 02:11:43.014 test_ca]: File name: /tmp/ci_auth_Conax_CSP_CIPLUS_CAM_4.bin [15/03 02:11:43.014 test_ca]: test_get_authdata_filename() OK gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" test_pmt.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_pmt [15/03 02:12:05.698 test_pmt]: wait_pusi: found pid 255 with parity change without start indicator [15/03 02:12:05.698 test_pmt]: test_wait_pusi() OK [15/03 02:12:05.699 test_pmt]: returning new pmt 0 for adapter 0, pmt pid 100, sid 0 0000 [15/03 02:12:05.699 test_pmt]: ../src/pmt.c:904 Unlock disabled mutex 0x5669ba80 [15/03 02:12:05.699 test_pmt]: CW 0 for PMT 0 (), master 0, pid 100, for next parity, id 0, parity 0, pmt 0, time 0 ms ago, expiry in 25000 ms, CW: 00 11 22 33 44 55 66 77 [15/03 02:12:05.699 test_pmt]: ../src/pmt.c:904 Unlock disabled mutex 0x5669ba80 [15/03 02:12:05.699 test_pmt]: CW 1 for PMT 0 (), master 0, pid 100, for next parity, id 1, parity 0, pmt 0, time 0 ms ago, expiry in 25000 ms, CW: 64 BB 0E 2D 98 AD 8C D1 [15/03 02:12:05.699 test_pmt]: ../src/pmt.c:904 Unlock disabled mutex 0x5669ba80 [15/03 02:12:05.699 test_pmt]: CW 2 for PMT 0 (), master 0, pid 100, for next parity, id 2, parity 1, pmt 0, time 0 ms ago, expiry in 25000 ms, CW: 77 C1 1F 57 96 FB C3 54 [15/03 02:12:05.699 test_pmt]: cw already exist at position 0: id 0, parity 0, pmt 0, time 0 ms ago, expiry in 25000 ms, CW: 00 11 22 33 44 55 66 77 [15/03 02:12:05.699 test_pmt]: Testing len 1, CW: id 0, parity 0, pmt 0, time 0 ms ago, expiry in 25000 ms, CW: 00 11 22 33 44 55 66 77 [15/03 02:12:05.699 test_pmt]: test_decrypt_packet before: : 0000 47 40 ff 99 14 4c 83 7f 46 ba b8 12 fb 83 f7 50 G@...L..F......P 0010 9c 73 55 e1 8a 1a 54 66 87 b1 d6 04 10 c4 a9 b8 .sU...Tf........ 0020 53 4e 75 11 cd af d7 05 9c ea 08 65 3b 36 62 ac SNu........e;6b. 0030 b2 2c d3 42 b8 fd 67 4d bf a3 04 4d 0c 0b b6 70 .,.B..gM...M...p 0040 3f af cc 26 8c f2 92 7d 64 37 18 48 0b d5 d6 50 ?..&...}d7.H...P 0050 2c 79 c5 d9 30 b9 b5 9f ca 12 0a 10 f2 36 a2 23 ,y..0........6.# 0060 3c c9 b7 70 08 fb 94 1d 36 79 04 5e e6 70 fa af <..p....6y.^.p.. 0070 e4 12 51 ad 53 b1 48 b7 25 67 3c f5 6f 47 e2 97 ..Q.S.H.%g<.oG.. 0080 e4 93 cb 87 4f 77 49 7a 7b 7e 26 e0 c9 b4 6e 6a ....OwIz{~&...nj 0090 52 b8 ab 25 bf 33 b9 4b 25 39 26 24 aa a6 19 e1 R..%.3.K%9&$.... 00a0 3f bd 33 7f d9 a5 b4 25 44 b1 45 ee ee 25 04 47 ?.3....%D.E..%.G 00b0 cd 63 81 03 15 59 58 1d 00 00 00 00 .c...YX..... [15/03 02:12:05.699 test_pmt]: test_decrypt_packet after: : 0000 47 40 ff 99 e8 a5 87 a1 1e 5d e9 c1 8e ad 2d d5 G@.......]....-. 0010 e1 41 6f ba ea 68 d4 49 c4 25 1f 71 88 99 dd 53 .Ao..h.I.%.q...S 0020 89 43 aa f8 80 95 69 cd 25 37 ed 80 13 e9 8b 19 .C....i.%7...... 0030 7b b7 39 7d c0 50 fa 96 a0 95 ac f2 81 28 37 64 {.9}.P.......(7d 0040 23 dc e8 c2 3e 67 a9 61 39 fd f5 c9 20 99 7d 47 #...>g.a9... .}G 0050 47 76 07 a9 72 56 95 4b dd 79 64 72 2c fb dd 8f Gv..rV.K.ydr,... 0060 1c bb 9d f5 a0 7a e9 cd 46 26 f2 f5 60 c0 80 41 .....z..F&..`..A 0070 c5 eb 36 b5 78 2f 96 19 f2 a3 d1 85 d4 12 6e e6 ..6.x/........n. 0080 f2 01 e6 61 ad be e2 b9 32 71 48 78 5c ae fe cd ...a....2qHx\... 0090 99 dd f6 6d a5 9d 79 ba 36 91 3c 3f 72 9c 87 91 ...m..y.6. [15/03 02:12:05.700 test_pmt]: Testing len 9, CW: id 0, parity 0, pmt 0, time 1 ms ago, expiry in 24999 ms, CW: 00 11 22 33 44 55 66 77 [15/03 02:12:05.700 test_pmt]: test_decrypt_packet before: : 0000 47 40 ff 99 14 4c 83 7f 46 ba b8 12 fb 83 f7 50 G@...L..F......P 0010 9c 73 55 e1 8a 1a 54 66 87 b1 d6 04 10 c4 a9 b8 .sU...Tf........ 0020 53 4e 75 11 cd af d7 05 9c ea 08 65 3b 36 62 ac SNu........e;6b. 0030 b2 2c d3 42 b8 fd 67 4d bf a3 04 4d 0c 0b b6 70 .,.B..gM...M...p 0040 3f af cc 26 8c f2 92 7d 64 37 18 48 0b d5 d6 50 ?..&...}d7.H...P 0050 2c 79 c5 d9 30 b9 b5 9f ca 12 0a 10 f2 36 a2 23 ,y..0........6.# 0060 3c c9 b7 70 08 fb 94 1d 36 79 04 5e e6 70 fa af <..p....6y.^.p.. 0070 e4 12 51 ad 53 b1 48 b7 25 67 3c f5 6f 47 e2 97 ..Q.S.H.%g<.oG.. 0080 e4 93 cb 87 4f 77 49 7a 7b 7e 26 e0 c9 b4 6e 6a ....OwIz{~&...nj 0090 52 b8 ab 25 bf 33 b9 4b 25 39 26 24 aa a6 19 e1 R..%.3.K%9&$.... 00a0 3f bd 33 7f d9 a5 b4 25 44 b1 45 ee ee 25 04 47 ?.3....%D.E..%.G 00b0 cd 63 81 03 15 59 58 1d 00 00 00 00 .c...YX..... Message repeated 8 times [15/03 02:12:05.701 test_pmt]: test_decrypt_packet after: : 0000 47 40 ff 99 e8 a5 87 a1 1e 5d e9 c1 8e ad 2d d5 G@.......]....-. 0010 e1 41 6f ba ea 68 d4 49 c4 25 1f 71 88 99 dd 53 .Ao..h.I.%.q...S 0020 89 43 aa f8 80 95 69 cd 25 37 ed 80 13 e9 8b 19 .C....i.%7...... 0030 7b b7 39 7d c0 50 fa 96 a0 95 ac f2 81 28 37 64 {.9}.P.......(7d 0040 23 dc e8 c2 3e 67 a9 61 39 fd f5 c9 20 99 7d 47 #...>g.a9... .}G 0050 47 76 07 a9 72 56 95 4b dd 79 64 72 2c fb dd 8f Gv..rV.K.ydr,... 0060 1c bb 9d f5 a0 7a e9 cd 46 26 f2 f5 60 c0 80 41 .....z..F&..`..A 0070 c5 eb 36 b5 78 2f 96 19 f2 a3 d1 85 d4 12 6e e6 ..6.x/........n. 0080 f2 01 e6 61 ad be e2 b9 32 71 48 78 5c ae fe cd ...a....2qHx\... 0090 99 dd f6 6d a5 9d 79 ba 36 91 3c 3f 72 9c 87 91 ...m..y.6. [15/03 02:12:05.703 test_pmt]: correct CW found (len 9): id 1, parity 0, pmt 0, time 4 ms ago, expiry in 24996 ms, CW: 64 BB 0E 2D 98 AD 8C D1 [15/03 02:12:05.703 test_pmt]: found CW: 1 [validated] for PMT 0, old cw -1, packets 1000, parity 0, pid 100: id 1, parity 0, pmt 0, time 4 ms ago, expiry in 24996 ms, CW: 64 BB 0E 2D 98 AD 8C D1 [15/03 02:12:05.711 test_pmt]: pmt: decrypted pmt 0, packets 1000, CW 1, old CW -1, parity 0 at len 1000, channel_id 0 (pid 255) [15/03 02:12:05.711 test_pmt]: adapter buffer : 0000 47 40 ff 19 00 00 01 e0 00 00 84 c0 0f 35 23 45 G@...........5#E 0010 e6 ff 15 23 45 92 9f ff ff ff ff ff 00 00 00 01 ...#E........... 0020 09 30 00 00 01 06 01 01 32 80 00 00 00 01 41 9a .0......2.....A. 0030 10 cb 62 59 5f ae b3 5f 20 14 2a 1c 8a e7 38 be ..bY_.._ .*...8. 0040 00 0e 80 8b c3 1c a9 94 a5 26 cb 24 9c 9c 20 89 .........&.$.. . 0050 e1 e2 a2 6d e9 e6 e2 6a 85 5f 30 41 e2 2e 65 31 ...m...j._0A..e1 0060 85 83 98 6a 41 e3 61 fc b8 08 aa ac 29 a6 65 3b ...jA.a.....).e; 0070 66 4b 65 6b 45 04 e9 b4 ee 1b cd dc a8 10 61 7e fKekE.........a~ 0080 ce fc d1 66 fe 57 fe c0 b7 99 c5 d7 d5 15 db 9b ...f.W.......... 0090 d6 1c b0 3d a3 c1 bc 3f 18 27 19 44 f5 fe e6 d2 ...=...?.'.D.... 00a0 b6 97 38 a4 1a c1 73 14 2c f9 d9 d7 9f b6 e2 08 ..8...s.,....... 00b0 7f fe 43 29 5a a1 06 38 af 3a 68 3e ..C)Z..8.:h> [15/03 02:12:05.711 test_pmt]: test_decrypt() OK gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" test_ddci.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_ddci [15/03 02:12:28.078 test_ddci]: /tmp/ddci.conf already exists, not saving [15/03 02:12:28.078 test_ddci]: Destroying mutex 0xffbbb0c8 [15/03 02:12:28.078 test_ddci]: Adding channel 200: DDCIs: 0 [15/03 02:12:28.078 test_ddci]: Loaded 1 channels from /tmp/ddci.conf [15/03 02:12:28.078 test_ddci]: Destroying mutex 0xffbbb0c8 [15/03 02:12:28.078 test_ddci]: test_channels() OK [15/03 02:12:28.078 test_ddci]: returning new pmt 0 for adapter 8, pmt pid 1000, sid 100 0064 [15/03 02:12:28.078 test_ddci]: PMT 0 PI pos 1 caid 0100 => pid 0100 (256), index 0 [15/03 02:12:28.078 test_ddci]: PMT 0 PI pos 2 caid 1800 => pid 1800 (6144), index 1 [15/03 02:12:28.078 test_ddci]: returning new pmt 1 for adapter 8, pmt pid 1000, sid 200 00C8 [15/03 02:12:28.078 test_ddci]: PMT 1 PI pos 1 caid 0100 => pid 0100 (256), index 0 [15/03 02:12:28.078 test_ddci]: PMT 1 PI pos 2 caid 0500 => pid 0500 (1280), index 1 [15/03 02:12:28.078 test_ddci]: returning new pmt 2 for adapter 8, pmt pid 1000, sid 300 012C [15/03 02:12:28.079 test_ddci]: PMT 2 PI pos 1 caid 0500 => pid 0500 (1280), index 0 [15/03 02:12:28.079 test_ddci]: PMT 2 PI pos 2 caid 0100 => pid 0100 (256), index 1 [15/03 02:12:28.079 test_ddci]: returning new pmt 3 for adapter 8, pmt pid 1000, sid 400 0190 [15/03 02:12:28.079 test_ddci]: PMT 3 PI pos 1 caid 0600 => pid 0600 (1536), index 0 [15/03 02:12:28.079 test_ddci]: PMT 3 PI pos 2 caid 0601 => pid 0601 (1537), index 1 [15/03 02:12:28.079 test_ddci]: ../src/tables.c:118 Unlock disabled mutex 0x565c2b60 [15/03 02:12:28.079 test_ddci]: CA 0 is disabled for adapter 0 [15/03 02:12:28.079 test_ddci]: CA 0 is disabled for adapter 1 [15/03 02:12:28.079 test_ddci]: CA 0 is disabled for adapter 8 [15/03 02:12:28.079 test_ddci]: ../src/tables.c:83 Unlock disabled mutex 0x565c2b60 [15/03 02:12:28.079 test_ddci]: CA 0 can handle CAID 0100 mask FFFF on adapter 0 at position 0 [15/03 02:12:28.079 test_ddci]: CA 0 can handle CAID 0500 mask FFFF on adapter 1 at position 0 [15/03 02:12:28.079 test_ddci]: ddci_process_pmt: adapter 8, pmt 3, pid 3000, sid 400, ddid -1, name: [15/03 02:12:28.079 test_ddci]: DDCI not ready or busy at the moment: retry [15/03 02:12:28.079 test_ddci]: ddci_process_pmt: adapter 8, pmt 3, pid 3000, sid 400, ddid -1, name: [15/03 02:12:28.079 test_ddci]: no suitable DDCI found [15/03 02:12:28.079 test_ddci]: ddci_process_pmt: adapter 8, pmt 0, pid 0, sid 100, ddid -1, name: [15/03 02:12:28.079 test_ddci]: match_caid: match caid 0100 (0/2) with CA caid 0100 and mask FFFF [15/03 02:12:28.079 test_ddci]: DDCI 0 CAID 0100 and mask FFFF matched PMT 0 [15/03 02:12:28.079 test_ddci]: Mapping CAT to PMT 0 from transponder 0, DDCI transponder 0 [15/03 02:12:28.079 test_ddci]: new filter 0 added for adapter 8, pid 1, flags 16, mask_len 0, master_filter 0 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 1 (1) to 1, pmt 0 [15/03 02:12:28.079 test_ddci]: found DDCI 0 for pmt 0, running channels 1, max_channels 1 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 0 (0) to 0, pmt 0 [15/03 02:12:28.079 test_ddci]: DD 0 adding ECM pid 256 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 0 [15/03 02:12:28.079 test_ddci]: DD 0 adding ECM pid 6144 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 6144 (6144) to 6144, pmt 0 [15/03 02:12:28.079 test_ddci]: DD 0 adding stream pid 101 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 101 (101) to 101, pmt 0 [15/03 02:12:28.079 test_ddci]: DD 0 adding stream pid 102 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 102 (102) to 102, pmt 0 [15/03 02:12:28.079 test_ddci]: found filter 0 for pid 1, master 0 (1) [15/03 02:12:28.079 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [15/03 02:12:28.079 test_ddci]: pid 1, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter 0, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 256, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 6144, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: Dumping pids table for adapter 0, number of unknown pids: 0 [15/03 02:12:28.079 test_ddci]: pid 1, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 0, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 256, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 6144, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 101, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 102, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: Mapping Table for all devices [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: ../src/ddci.c:463 Unlock disabled mutex 0xffbb1838 [15/03 02:12:28.079 test_ddci]: ddci_process_pmt: adapter 8, pmt 1, pid 1000, sid 200, ddid -1, name: [15/03 02:12:28.079 test_ddci]: match_caid: match caid 0100 (0/2) with CA caid 0100 and mask FFFF [15/03 02:12:28.079 test_ddci]: DDCI 0 CAID 0100 and mask FFFF matched PMT 1 [15/03 02:12:28.079 test_ddci]: match_caid: match caid 0500 (1/2) with CA caid 0500 and mask FFFF [15/03 02:12:28.079 test_ddci]: DDCI 1 CAID 0500 and mask FFFF matched PMT 1 [15/03 02:12:28.079 test_ddci]: DDCI 0 cannot be used for PMT 1, pid 1000 (used channels 1 max 1) [15/03 02:12:28.079 test_ddci]: Mapping CAT to PMT 1 from transponder 0, DDCI transponder 0 [15/03 02:12:28.079 test_ddci]: found already existing pid 1 flags 1 [15/03 02:12:28.079 test_ddci]: new filter 1 added for adapter 8, pid 1, flags 16, mask_len 0, master_filter 0 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 1 (1) to 1, pmt 1 [15/03 02:12:28.079 test_ddci]: found DDCI 1 for pmt 1, running channels 1, max_channels 1 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 1000 (1000) to 1000, pmt 1 [15/03 02:12:28.079 test_ddci]: DD 1 adding ECM pid 256 [15/03 02:12:28.079 test_ddci]: found already existing pid 256 flags 1 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 1 [15/03 02:12:28.079 test_ddci]: DD 1 adding ECM pid 1280 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 1280 (1280) to 1280, pmt 1 [15/03 02:12:28.079 test_ddci]: DD 1 adding stream pid 201 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 201 (201) to 201, pmt 1 [15/03 02:12:28.079 test_ddci]: DD 1 adding stream pid 202 [15/03 02:12:28.079 test_ddci]: mapped adapter 8 (8) pid 202 (202) to 202, pmt 1 [15/03 02:12:28.079 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [15/03 02:12:28.079 test_ddci]: pid 1, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter 1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 256, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 6144, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 1280, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: Dumping pids table for adapter 1, number of unknown pids: 0 [15/03 02:12:28.079 test_ddci]: pid 1, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 1000, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 256, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 1280, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 201, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: pid 202, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.079 test_ddci]: Mapping Table for all devices [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 1, ddpid 1000, adapter 8 pid 1000, rewrite 0: 1 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 1, ddpid 1, adapter 8 pid 1, rewrite 1: 1 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: 1 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 1, ddpid 202, adapter 8 pid 202, rewrite 1: 1 -1 -1 -1 [15/03 02:12:28.079 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: 1 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 201, adapter 8 pid 201, rewrite 1: 1 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: ../src/ddci.c:463 Unlock disabled mutex 0xffbb1ce4 [15/03 02:12:28.080 test_ddci]: PMT 2 PI pos 3 caid 0502 => pid 00FE (254), index 2 [15/03 02:12:28.080 test_ddci]: ddci_process_pmt: adapter 8, pmt 2, pid 2000, sid 300, ddid -1, name: [15/03 02:12:28.080 test_ddci]: found DDCI 1 for pmt 2, running channels 2, max_channels 2 [15/03 02:12:28.080 test_ddci]: mapped adapter 8 (8) pid 2000 (2000) to 2000, pmt 2 [15/03 02:12:28.080 test_ddci]: DD 1 adding ECM pid 1280 [15/03 02:12:28.080 test_ddci]: mapped adapter 8 (8) pid 1280 (1280) to 1280, pmt 2 [15/03 02:12:28.080 test_ddci]: DD 1 adding ECM pid 256 [15/03 02:12:28.080 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 2 [15/03 02:12:28.080 test_ddci]: DD 1 adding ECM pid 254 [15/03 02:12:28.080 test_ddci]: mapped adapter 8 (8) pid 254 (254) to 254, pmt 2 [15/03 02:12:28.080 test_ddci]: DD 1 adding stream pid 301 [15/03 02:12:28.080 test_ddci]: mapped adapter 8 (8) pid 301 (301) to 301, pmt 2 [15/03 02:12:28.080 test_ddci]: DD 1 adding stream pid 302 [15/03 02:12:28.080 test_ddci]: mapped adapter 8 (8) pid 302 (302) to 302, pmt 2 [15/03 02:12:28.080 test_ddci]: DD 1 adding stream pid 255 [15/03 02:12:28.080 test_ddci]: mapped adapter 8 (8) pid 255 (255) to 255, pmt 2 [15/03 02:12:28.080 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [15/03 02:12:28.080 test_ddci]: pid 1, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter 1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 256, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 6144, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 1280, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 254, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: Dumping pids table for adapter 1, number of unknown pids: 0 [15/03 02:12:28.080 test_ddci]: pid 1, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 1000, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 256, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 1280, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 201, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 202, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 1, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 2000, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 254, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 301, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 302, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: pid 255, fd 0, packets 0, d/c/c2 errs 0/0/0, flags 2, pmt -1, filter -1, sock -1, p2 0, sids: 257 0 0 0 0 0 0 0 [15/03 02:12:28.080 test_ddci]: Mapping Table for all devices [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 1000, adapter 8 pid 1000, rewrite 0: 1 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 1, adapter 8 pid 1, rewrite 1: 1 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: 1 2 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 202, adapter 8 pid 202, rewrite 1: 1 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: 1 2 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 201, adapter 8 pid 201, rewrite 1: 1 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: ../src/ddci.c:463 Unlock disabled mutex 0xffbb1ce4 [15/03 02:12:28.080 test_ddci]: ddci_del_pmt: deleting pmt id 1, sid 200 (C8), pid 1000, ddci 1, name [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 1 pid 1000 ddci_pid 1000 [15/03 02:12:28.080 test_ddci]: del_pmt_mapping_table: ad 8 pid 255 ddci_pid 255, pid also associated with pmt 2 [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 1 pid 1 ddci_pid 1 [15/03 02:12:28.080 test_ddci]: deleting filter 1 [15/03 02:12:28.080 test_ddci]: Found 0 filters for adapter 8 pid 1 master 0 with flags 5 [15/03 02:12:28.080 test_ddci]: pid not found or pid in use by sid 257 [15/03 02:12:28.080 test_ddci]: Destroying mutex 0xf7bf4584 [15/03 02:12:28.080 test_ddci]: deleted filter 1, ad 8, pid 1, max filters 2 [15/03 02:12:28.080 test_ddci]: Marking pid 1 deleted on adapter 1 (initial ad 8 pid 1) [15/03 02:12:28.080 test_ddci]: del_pmt_mapping_table: ad 8 pid 302 ddci_pid 302, pid also associated with pmt 2 [15/03 02:12:28.080 test_ddci]: del_pmt_mapping_table: ad 8 pid 1280 ddci_pid 1280, pid also associated with pmt 2 [15/03 02:12:28.080 test_ddci]: del_pmt_mapping_table: ad 8 pid 254 ddci_pid 254, pid also associated with pmt 2 [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 1 pid 202 ddci_pid 202 [15/03 02:12:28.080 test_ddci]: del_pmt_mapping_table: ad 8 pid 256 ddci_pid 256, pid also associated with pmt 2 [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 1 pid 201 ddci_pid 201 [15/03 02:12:28.080 test_ddci]: del_pmt_mapping_table: ad 8 pid 301 ddci_pid 301, pid also associated with pmt 2 [15/03 02:12:28.080 test_ddci]: del_pmt_mapping_table: ad 8 pid 2000 ddci_pid 2000, pid also associated with pmt 2 [15/03 02:12:28.080 test_ddci]: Mapping Table for all devices [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: -1 2 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: -1 2 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: ddci_del_pmt: deleting pmt id 0, sid 100 (64), pid 0, ddci 0, name [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 0 pid 0 ddci_pid 0 [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 0 pid 1 ddci_pid 1 [15/03 02:12:28.080 test_ddci]: deleting filter 0 [15/03 02:12:28.080 test_ddci]: Found 0 filters for adapter 8 pid 1 master 0 with flags 5 [15/03 02:12:28.080 test_ddci]: pid not found or pid in use by sid 0 [15/03 02:12:28.080 test_ddci]: Destroying mutex 0xf7bf3034 [15/03 02:12:28.080 test_ddci]: deleted filter 0, ad 8, pid 1, max filters 1 [15/03 02:12:28.080 test_ddci]: Marking pid 1 deleted on adapter 0 (initial ad 8 pid 1) [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 0 pid 101 ddci_pid 101 [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 0 pid 6144 ddci_pid 6144 [15/03 02:12:28.080 test_ddci]: Marking pid 6144 deleted on adapter 0 (initial ad 8 pid 6144) [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 0 pid 256 ddci_pid 256 [15/03 02:12:28.080 test_ddci]: Marking pid 256 deleted on adapter 0 (initial ad 8 pid 256) [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 0 pid 102 ddci_pid 102 [15/03 02:12:28.080 test_ddci]: Mapping Table for all devices [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: -1 2 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: -1 2 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [15/03 02:12:28.080 test_ddci]: ddci_del_pmt: deleting pmt id 2, sid 300 (12C), pid 2000, ddci 1, name [15/03 02:12:28.080 test_ddci]: Deleting ad 8 pmt 2 pid 255 ddci_pid 255 [15/03 02:12:28.081 test_ddci]: Deleting ad 8 pmt 2 pid 302 ddci_pid 302 [15/03 02:12:28.081 test_ddci]: Deleting ad 8 pmt 2 pid 1280 ddci_pid 1280 [15/03 02:12:28.081 test_ddci]: Marking pid 1280 deleted on adapter 1 (initial ad 8 pid 1280) [15/03 02:12:28.081 test_ddci]: Deleting ad 8 pmt 2 pid 254 ddci_pid 254 [15/03 02:12:28.081 test_ddci]: Marking pid 254 deleted on adapter 1 (initial ad 8 pid 254) [15/03 02:12:28.081 test_ddci]: Deleting ad 8 pmt 2 pid 256 ddci_pid 256 [15/03 02:12:28.081 test_ddci]: Marking pid 256 deleted on adapter 1 (initial ad 8 pid 256) [15/03 02:12:28.081 test_ddci]: Deleting ad 8 pmt 2 pid 301 ddci_pid 301 [15/03 02:12:28.081 test_ddci]: Deleting ad 8 pmt 2 pid 2000 ddci_pid 2000 [15/03 02:12:28.081 test_ddci]: Mapping Table for all devices [15/03 02:12:28.081 test_ddci]: Destroying mutex 0xffbb1c7c [15/03 02:12:28.081 test_ddci]: Destroying mutex 0xffbb2128 [15/03 02:12:28.081 test_ddci]: Destroying mutex 0x565d7f18 [15/03 02:12:28.081 test_ddci]: destroy disabled mutex 0xf7bf3034 [15/03 02:12:28.081 test_ddci]: destroy disabled mutex 0xf7bf4584 [15/03 02:12:28.081 test_ddci]: test_add_del_pmt() OK [15/03 02:12:28.084 test_ddci]: mapped adapter 2 (2) pid 1000 (1000) to 1000, pmt 9 [15/03 02:12:28.084 test_ddci]: mapped adapter 1 (1) pid 1000 (1000) to 1001, pmt 0 [15/03 02:12:28.084 test_ddci]: popped 188 bytes from fifo up to index 188, rlen 188, lbuf 1880, left in fifo 0 [15/03 02:12:28.084 test_ddci]: Destroying mutex 0xffbb148c [15/03 02:12:28.084 test_ddci]: test_copy_ts_from_ddci() OK [15/03 02:12:28.086 test_ddci]: mapped adapter 5 (5) pid 1000 (1000) to 1000, pmt 0 [15/03 02:12:28.086 test_ddci]: mapped adapter 5 (5) pid 2000 (2000) to 2000, pmt 0 [15/03 02:12:28.086 test_ddci]: mapped adapter 1 (1) pid 1000 (1000) to 1001, pmt 0 [15/03 02:12:28.086 test_ddci]: mapped adapter 1 (1) pid 2000 (2000) to 2001, pmt 0 [15/03 02:12:28.086 test_ddci]: writing 376 bytes to DDCI device 2, fd 0, sock 0 [15/03 02:12:28.086 test_ddci]: called writev with len 2, first pid 1001 [15/03 02:12:28.086 test_ddci]: popped 376 bytes from fifo up to index 1692, rlen 1692, lbuf 1880, left in fifo 188 [15/03 02:12:28.086 test_ddci]: Destroying mutex 0xffbb32b4 [15/03 02:12:28.087 test_ddci]: test_ddci_process_ts() OK [15/03 02:12:28.087 test_ddci]: returning new pmt 4 for adapter 0, pmt pid 4096, sid 102 0066 [15/03 02:12:28.087 test_ddci]: mapped adapter 9 (9) pid 4096 (4096) to 4096, pmt 0 [15/03 02:12:28.087 test_ddci]: mapped adapter 0 (0) pid 4096 (4096) to 4097, pmt 0 [15/03 02:12:28.087 test_ddci]: ddci_create_pat: transponder 0 version 0, len 17 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xffbb7890 [15/03 02:12:28.087 test_ddci]: test_create_pat() OK [15/03 02:12:28.087 test_ddci]: returning new pmt 5 for adapter 0, pmt pid 4096, sid 256 0100 [15/03 02:12:28.087 test_ddci]: returning new pmt 6 for adapter 0, pmt pid 4097, sid 257 0101 [15/03 02:12:28.087 test_ddci]: mapped adapter 0 (0) pid 4096 (4096) to 4096, pmt 5 [15/03 02:12:28.087 test_ddci]: mapped adapter 0 (0) pid 4097 (4097) to 4097, pmt 6 [15/03 02:12:28.087 test_ddci]: Adding PMT 5 to SDT, sid 256 [15/03 02:12:28.087 test_ddci]: Adding PMT 6 to SDT, sid 257 [15/03 02:12:28.087 test_ddci]: SDT length: 26 [15/03 02:12:28.087 test_ddci]: SDT: 0000 00 42 f0 16 00 01 c1 00 00 00 00 00 01 00 00 90 .B.............. 0010 00 01 01 00 90 00 3d 47 ac 81 ......=G.. [15/03 02:12:28.087 test_ddci]: TS length: 188 [15/03 02:12:28.087 test_ddci]: TS: 0000 47 40 11 12 00 42 f0 16 00 01 c1 00 00 00 00 00 G@...B.......... 0010 01 00 00 90 00 01 01 00 90 00 3d 47 ac 81 ff ff ..........=G.... 0020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0040 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0070 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0090 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 00a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 00b0 ff ff ff ff ff ff ff ff ff ff ff ff ............ [15/03 02:12:28.087 test_ddci]: Packet length 25 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xffbb7890 [15/03 02:12:28.087 test_ddci]: test_create_sdt() OK [15/03 02:12:28.087 test_ddci]: ../src/adapter.c:1155: get_adapter returns NULL for adapter_id 0 [15/03 02:12:28.087 test_ddci]: mapped adapter 0 (0) pid 1023 (1023) to 1023, pmt 0 [15/03 02:12:28.087 test_ddci]: ../src/adapter.c:1155: get_adapter returns NULL for adapter_id 0 [15/03 02:12:28.087 test_ddci]: mapped adapter 0 (0) pid 256 (256) to 256, pmt 0 [15/03 02:12:28.087 test_ddci]: returning new pmt 7 for adapter 0, pmt pid 1000, sid 102 0066 [15/03 02:12:28.087 test_ddci]: PMT 7 PI pos 1 caid 0100 => pid 0100 (256), index 0 [15/03 02:12:28.087 test_ddci]: PMT 7 PI pos 2 caid 0500 => pid 0500 (1280), index 1 [15/03 02:12:28.087 test_ddci]: ddci_create_pmt: PMT 7 AD 0, pid: 03FE (1022), ver 0, sid 0066 (102) channel: TEST CHANNEL HD [15/03 02:12:28.087 test_ddci]: ddci_create_pmt: pmt 7 added caid 0100, pid 0100 [15/03 02:12:28.087 test_ddci]: ddci_create_pmt: pmt 7 added caid 0500, pid 0500 [15/03 02:12:28.087 test_ddci]: ddci_create_pmt: pmt 7 added pid 03FF, type 02 [15/03 02:12:28.087 test_ddci]: ddci_create_pmt: pmt 7 added pid 0055, type 06 [15/03 02:12:28.087 test_ddci]: PACK: : 0000 00 02 00 23 00 66 03 00 00 ff ff 00 0c 09 04 01 ...#.f.......... 0010 00 01 00 09 04 05 00 05 00 02 03 ff 00 00 06 00 ................ 0020 55 00 00 e0 de e4 8f U...... [15/03 02:12:28.087 test_ddci]: TS: : 0000 47 40 63 12 00 02 00 23 00 66 03 00 00 ff ff 00 G@c....#.f...... 0010 0c 09 04 01 00 01 00 09 04 05 00 05 00 02 03 ff ................ 0020 00 00 06 00 55 00 00 e0 de e4 8f ff ff ff ff ff ....U........... 0030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0040 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0070 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 0090 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 00a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................ 00b0 ff ff ff ff ff ff ff ff ff ff ff ff ............ [15/03 02:12:28.087 test_ddci]: returning new pmt 8 for adapter 0, pmt pid 200, sid 200 00C8 [15/03 02:12:28.087 test_ddci]: new PMT 8 AD 0, pid: 03FF (1023), len 35, pi_len 12, ver 1, pcr 8191, sid 0066 (102) [15/03 02:12:28.087 test_ddci]: PMT 8 PI pos 1 caid 0100 => pid 0100 (256), index 0 [15/03 02:12:28.087 test_ddci]: PMT 8 PI pos 2 caid 0500 => pid 0500 (1280), index 1 [15/03 02:12:28.087 test_ddci]: get_master_pmt_for_pid: ad 0 found pid 1023 in master pmt 7 [15/03 02:12:28.087 test_ddci]: PMT pid 1023 - stream pid 03FF (1023), type 2, es_len 0, pos 21, caids 2 [15/03 02:12:28.087 test_ddci]: PMT 8, master pmt set to 7 [15/03 02:12:28.087 test_ddci]: get_master_pmt_for_pid: ad 0 found pid 85 in master pmt 7 [15/03 02:12:28.087 test_ddci]: PMT pid 1023 - stream pid 0055 (85), type 6, es_len 0, pos 26, caids 2 [15/03 02:12:28.087 test_ddci]: pmt_add_caid: CAID 0100 CAPID 256 already exists in PMT 7 [15/03 02:12:28.087 test_ddci]: pmt_add_caid: CAID 0500 CAPID 1280 already exists in PMT 7 [15/03 02:12:28.087 test_ddci]: Found 0 filters for adapter 0 pid 1023 master 0 with flags 5 [15/03 02:12:28.087 test_ddci]: pid not found or pid in use by sid 257 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xffbb7890 [15/03 02:12:28.087 test_ddci]: test_create_pmt() OK [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xf7fca3f4 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xf7fca694 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xf7c07064 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xf7c07304 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xf7c075d4 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xf7bf2b04 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0xf7bf2da4 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0x5660a2b4 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0x5660a544 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0x565d9d40 [15/03 02:12:28.087 test_ddci]: Destroying mutex 0x565c2af8 gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" test_dvb.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_dvb [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (S)-> fe=0&src=1&freq=11361.75&pol=h&ro=0.35&msys=dvbs2&mtype=qpsk&plts=off&sr=22000&fec=23&pids=0,16,201,302 [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (E) -> src=1, fe=0, freq=11361750, fec=2, sr=22000000, pol=2, ro=0, msys=6, mtype=0, plts=1, bw=8000000, inv=2, pids=0,16,201,302 - apids=NULL - dpids=NULL x_pmt=NULL [15/03 02:12:51.241 test_dvb]: test_detect_dvb_parameters_general() OK [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (S)-> freq=11734 [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (E) -> src=0, fe=0, freq=11734000, fec=9, sr=0, pol=0, ro=3, msys=0, mtype=6, plts=2, bw=8000000, inv=2, pids=NULL - apids=NULL - dpids=NULL x_pmt=NULL [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.35 [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (E) -> src=0, fe=0, freq=11734000, fec=9, sr=0, pol=0, ro=0, msys=0, mtype=6, plts=2, bw=8000000, inv=2, pids=NULL - apids=NULL - dpids=NULL x_pmt=NULL [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.25 [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (E) -> src=0, fe=0, freq=11734000, fec=9, sr=0, pol=0, ro=2, msys=0, mtype=6, plts=2, bw=8000000, inv=2, pids=NULL - apids=NULL - dpids=NULL x_pmt=NULL [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.20 [15/03 02:12:51.241 test_dvb]: detect_dvb_parameters (E) -> src=0, fe=0, freq=11734000, fec=9, sr=0, pol=0, ro=1, msys=0, mtype=6, plts=2, bw=8000000, inv=2, pids=NULL - apids=NULL - dpids=NULL x_pmt=NULL [15/03 02:12:51.241 test_dvb]: test_detect_dvb_parameters_roll_off() OK gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" test_minisatip.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_minisatip gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" test_utils.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_utils [15/03 02:13:32.100 test_utils]: mkdir /tmp failed [15/03 02:13:32.101 test_utils]: mkdir /tmp/minisatip failed [15/03 02:13:32.101 test_utils]: mkdir /tmp/minisatip/test failed [15/03 02:13:32.101 test_utils]: test_mkdir_recursive() OK [15/03 02:13:32.101 test_utils]: Overwriting 2 bytes in the FIFO created at test_utils.c:45 [15/03 02:13:32.101 test_utils]: test_fifo() OK gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" test_socketworks.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_socketworks [15/03 02:13:53.061 test_socketworks]: sockets_add: handle 7 (type 0) returning socket sock 0 [:0] read: 0x56664994 [15/03 02:13:53.061 test_socketworks]: test_socket_enque_highprio() OK [15/03 02:13:53.061 test_socketworks]: sock 0 dropping 56 enqueued bytes (offset 2) [15/03 02:13:53.061 test_socketworks]: test_socket_writev_flush_enqued() OK [15/03 02:13:53.061 test_socketworks]: Insufficient bandwidth: sock 0: overflow 10 bytes, total 0.0 MB, len 10, offset 0, rv 0, available 5 [15/03 02:13:53.062 test_socketworks]: buffered data: : 0000 00 01 02 80 21 3b 3c 3d 3e 3f 40 41 42 43 44 45 ....!;<=>?@ABCDE 0010 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 FGHIJKLMNOPQRSTU 0020 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 00 00 00 VWXYZ[\]^_`ab... 0030 00 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e ................ 0040 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e ................ 0050 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e . !"#$%&'()*+,-. 0060 2f 30 31 24 /01$ [15/03 02:13:53.062 test_socketworks]: sock 0 flushed incomplete packet before priority response: left 2, rv 47 in 0 ms [15/03 02:13:53.062 test_socketworks]: sock 0, flushed 3 bytes of priority data from 3 [15/03 02:13:53.062 test_socketworks]: read data: : 0000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f ................ 0010 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f ................ 0020 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f !"#$%&'()*+,-./ 0030 30 31 58 59 5a 24 00 01 02 80 21 3b 3c 3d 3e 3f 01XYZ$....!;<=>? 0040 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f @ABCDEFGHIJKLMNO 0050 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e PQRSTUVWXYZ[\]^ [15/03 02:13:53.062 test_socketworks]: test_socket_buffering() OK [15/03 02:13:53.062 test_socketworks]: sockets_del: sock 0 -> handle 7, sid -1, overflow bytes 10, total buffered bytes 153 [15/03 02:13:53.062 test_socketworks]: sockets_del: sock 0 Last open socket is at index 0 current_handle 7 [15/03 02:13:53.062 test_socketworks]: Destroying mutex 0xf7c27854 [15/03 02:13:53.062 test_socketworks]: destroy disabled mutex 0x566de480 [15/03 02:13:53.062 test_socketworks]: Destroying mutex 0x566abf18 gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DNO_BACKTRACE -DAXE -fno-omit-frame-pointer -I../src -DENIGMA -DTESTING -DDDCI_TEST -DDISABLE_NETCVCLIENT -DMAJOR=\"tests\" -DMINOR=\"tests\" -DREVISION=\"tests\" utils/test_hash_table.c ../src/axe.c ../src/api/variables.c ../src/api/symbols.c ../src/t2mi.c ../src/httpc.c ../src/aes.c ../src/utils/fifo.c ../src/utils/logging/logging.c ../src/utils/alloc.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/csa.c ../src/tables.c ../src/minisatip.c ../src/netceiver.c ../src/ca.c ../src/utils.c ../src/ddci.c ../src/socketworks.c ../src/opts.c ../src/stream.c ../src/dvb.c ../src/pmt.c ../src/adapter.c ../src/dvbapi.c ../src/satipc.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/aes.c: In function 'dvbaes_set_cw': ../src/aes.c:59:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 59 | AES_set_decrypt_key(cw->cw, 128, (AES_KEY *)cw->key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.c:20: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'dvbaes_decrypt_stream': ../src/aes.c:67:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_ecb_encrypt(batch[i].data + j, batch[i].data + j, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_init': ../src/aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_process': ../src/aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'aes_xcbc_mac_done': ../src/aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/aes.c: In function 'dh_gen_exp': ../src/aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/aes.c:22: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/aes.c:399:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | DH_set0_pqg(dh, p, NULL, g); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/aes.c:400:5: warning: 'DH_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | DH_set_flags(dh, DH_FLAG_NO_EXP_CONSTTIME); | ^~~~~~~~~~~~ /usr/include/openssl/dh.h:273:28: note: declared here 273 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ../src/aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/aes.c: In function 'dh_dhph_signature': ../src/aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ ../src/aes.c: In function 'rsa_privatekey_open': ../src/aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1023:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from ../src/aes.h:7, from ../src/ca.h:4, from ../src/ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1025:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | SHA256_Update(&sha, element_get_ptr(cc_data, 22), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1027:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1029:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1031:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | SHA256_Final(cc_data->ks_host, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_SAK_SEK': ../src/ca.c:1054:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1057:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | AES_ecb_encrypt(&ks_host[16 * i], &dec[16 * i], &key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'sac_crypt': ../src/ca.c:1078:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1078 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1080:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1080 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1082:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1082 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_akh': ../src/ca.c:1168:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1169:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1171:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | SHA256_Update(&sha, element_get_ptr(cc_data, 5), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1173:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | SHA256_Update(&sha, cc_data->dhsk, 256); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1174:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1174 | SHA256_Final(akh, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'generate_uri_confirm': ../src/ca.c:1301:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1302:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | SHA256_Update(&sha, sak, 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1303:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1303 | SHA256_Final(uck, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c:1306:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | SHA256_Init(&sha); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../src/ca.c:1307:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1307 | SHA256_Update(&sha, element_get_ptr(cc_data, 25), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1309:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | SHA256_Update(&sha, uck, 32); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../src/ca.c:1310:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | SHA256_Final(uri_confirm, &sha); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../src/ca.c: In function 'check_new_key': ../src/ca.c:1341:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1341 | AES_set_encrypt_key(s_key, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/ca.c:1343:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1343 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/utils/test_hash_table [15/03 02:14:12.259 test_hash_table]: Destroying mutex 0xffb92df8 [15/03 02:14:12.259 test_hash_table]: Hash conflicts 97, len 0, size -46 [15/03 02:14:12.259 test_hash_table]: Destroying mutex 0xffb92df8 [15/03 02:14:12.259 test_hash_table]: test_hash_table() OK Tests completed successfully make[1]: Leaving directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.3.4/tests' >>> minisatip: Entering fakeroot... >>> minisatip-openrc*: Running split function openrc... >>> minisatip-openrc*: Preparing subpackage minisatip-openrc... >>> minisatip-openrc*: Running postcheck for minisatip-openrc >>> minisatip*: Running postcheck for minisatip >>> minisatip*: Preparing package minisatip... >>> minisatip*: Stripping binaries >>> minisatip*: Script found. /bin/sh added as a dependency for minisatip-1.3.4-r0.apk >>> minisatip*: Adding .pre-install >>> minisatip-openrc*: Scanning shared objects >>> minisatip*: Scanning shared objects >>> minisatip-openrc*: Tracing dependencies... >>> minisatip-openrc*: Package size: 24.0 KB >>> minisatip-openrc*: Compressing data... >>> minisatip-openrc*: Create checksum... >>> minisatip-openrc*: Create minisatip-openrc-1.3.4-r0.apk >>> minisatip*: Tracing dependencies... /bin/sh so:libc.musl-x86.so.1 so:libcrypto.so.3 so:libdvbcsa.so.1 >>> minisatip*: Package size: 732.0 KB >>> minisatip*: Compressing data... >>> minisatip*: Create checksum... >>> minisatip*: Create minisatip-1.3.4-r0.apk >>> minisatip: Build complete at Fri, 15 Mar 2024 02:14:13 +0000 elapsed time 0h 3m 19s >>> minisatip: Cleaning up srcdir >>> minisatip: Cleaning up pkgdir >>> minisatip: Uninstalling dependencies... (1/5) Purging .makedepends-minisatip (20240315.021055) (2/5) Purging linux-headers (6.6-r0) (3/5) Purging openssl-dev (3.1.5-r5) (4/5) Purging libdvbcsa-dev (1.1.0-r1) (5/5) Purging libdvbcsa (1.1.0-r1) OK: 380 MiB in 112 packages >>> minisatip: Updating the testing/x86 repository index... >>> minisatip: Signing the index...