>>> minisatip: Building testing/minisatip 1.2.78-r0 (using abuild 3.11.0-r1) started Wed, 17 May 2023 16:03:00 +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.3-r0) (2/5) Installing openssl-dev (3.1.0-r5) (3/5) Installing libdvbcsa (1.1.0-r1) (4/5) Installing libdvbcsa-dev (1.1.0-r1) (5/5) Installing .makedepends-minisatip (20230517.160301) OK: 385 MiB in 105 packages >>> minisatip: Cleaning up srcdir >>> minisatip: Cleaning up pkgdir >>> minisatip: Fetching https://distfiles.alpinelinux.org/distfiles/edge/minisatip-1.2.78.tar.gz >>> minisatip: Fetching https://distfiles.alpinelinux.org/distfiles/edge/minisatip-1.2.78.tar.gz >>> minisatip: Checking sha512sums... minisatip-1.2.78.tar.gz: OK minisatip.initd: OK minisatip.confd: OK default_document_root.patch: OK >>> minisatip: Unpacking /var/cache/distfiles/edge/minisatip-1.2.78.tar.gz... >>> minisatip: default_document_root.patch patching file src/minisatip.c Hunk #1 succeeded at 666 (offset 7 lines). checking for aarch64-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 checking for sys/param.h... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for int16_t... yes checking for int64_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking build system type... aarch64-alpine-linux-musl checking host system type... aarch64-alpine-linux-musl checking for GNU libc compatible malloc... yes checking for getpagesize... yes checking for working mmap... yes checking for bzero... yes checking for clock_gettime... yes checking for dup2... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for munmap... yes checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... 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 netceiver.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-undefined-trap-on-error make -C src make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.78/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 -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c minisatip.c -o ../build/minisatip.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c socketworks.c -o ../build/socketworks.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c stream.c -o ../build/stream.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c adapter.c -o ../build/adapter.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c httpc.c -o ../build/httpc.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils.c -o ../build/utils.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c api/symbols.c -o ../build/api/symbols.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c api/variables.c -o ../build/api/variables.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/logging/logging.c -o ../build/utils/logging/logging.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/hash_table.c -o ../build/utils/hash_table.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/mutex.c -o ../build/utils/mutex.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/ticks.c -o ../build/utils/ticks.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c csa.c -o ../build/csa.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c dvbapi.c -o ../build/dvbapi.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c ca.c -o ../build/ca.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c aes.c -o ../build/aes.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c pmt.c -o ../build/pmt.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c tables.c -o ../build/tables.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c satipc.c -o ../build/satipc.o gcc -Os -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -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:21: /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, | ^~~~~~~~~~~~~~~ ca.c: In function 'generate_key_seed': 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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ ca.c:1022:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | 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); | ^~~~~~~~~~~ aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ ca.c:1023:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/dh.h:226:27: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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, | ^~~~~~~~~~~~~ aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ ca.c:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/dh.h:259:28: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | AES_set_encrypt_key(key_data, 128, &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:203:28: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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, | ^~~~~~~~~~~~~~~~~~~ aes.c: In function 'dh_dhph_signature': ca.c:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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, | ^~~~~~~~~~~~~~~ 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': ca.c: In function 'generate_akh': aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ ca.c:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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 -Wformat -Werror=format-security -DNO_BACKTRACE -I../src -fstrict-flex-arrays -fsanitize=bounds -fsanitize-undefined-trap-on-error -DMAJOR=\"1.2.\" -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/utils.o ../build/api/symbols.o ../build/api/variables.o ../build/utils/logging/logging.o ../build/utils/hash_table.o ../build/utils/mutex.o ../build/utils/ticks.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,--as-needed,-O1,--sort-common -lpthread -lrt -ldl -ldvbcsa -lcrypto make[1]: Leaving directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.78/src' make -C src make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.78/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.2.78/src' make -C tests test make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.78/tests' gcc -Os -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/httpc.c ../src/csa.c ../src/t2mi.c ../src/adapter.c ../src/axe.c ../src/ddci.c ../src/dvb.c ../src/pmt.c ../src/stream.c ../src/tables.c ../src/utils/mutex.c ../src/utils/hash_table.c ../src/utils/logging/logging.c ../src/utils/ticks.c ../src/ca.c ../src/aes.c ../src/socketworks.c ../src/utils.c ../src/api/variables.c ../src/api/symbols.c ../src/satipc.c ../src/minisatip.c ../src/dvbapi.c ../src/netceiver.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1022:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | 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:1023:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | 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:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | 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:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | 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:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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, | ^~~~~~~~~~~~~~~ ../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:21: /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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | 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:226:27: note: declared here 226 | 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:259:28: note: declared here 259 | 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:203:28: note: declared here 203 | 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) | ^~~~~~~~~~~~~~~~~~~~~~ Running ../build/test_ca [17/05 16:03:16.576 test_ca]: CAID string: [17/05 16:03:16.576 test_ca]: CAID string: 0B00 [17/05 16:03:16.576 test_ca]: CAID string: 0B00, 0B01, 0B02 [17/05 16:03:16.576 test_ca]: test_get_ca_caids_string() OK [17/05 16:03:16.576 test_ca]: Mutex init OK 0xfff5654dd048 [17/05 16:03:16.576 test_ca]: returning new pmt 0 for adapter 0, pmt pid 100 sid 100 0064 [17/05 16:03:16.576 test_ca]: Mutex init OK 0xfff565062058 [17/05 16:03:16.576 test_ca]: returning new pmt 1 for adapter 0, pmt pid 200 sid 200 00C8 [17/05 16:03:16.576 test_ca]: Mutex init OK 0xfff56505d068 [17/05 16:03:16.576 test_ca]: returning new pmt 2 for adapter 0, pmt pid 300 sid 300 012C [17/05 16:03:16.576 test_ca]: Mutex init OK 0xfff565058078 [17/05 16:03:16.576 test_ca]: returning new pmt 3 for adapter 0, pmt pid 400 sid 400 0190 [17/05 16:03:16.576 test_ca]: CA 0 all channels used 1, multiple allowed 0 [17/05 16:03:16.576 test_ca]: CAPMT 0 pmts 1 -1 [17/05 16:03:16.576 test_ca]: test_multiple_pmt() OK [17/05 16:03:16.576 test_ca]: Mutex init OK 0xfff565053088 [17/05 16:03:16.576 test_ca]: returning new pmt 5 for adapter 0, pmt pid 500 sid 500 01F4 [17/05 16:03:16.576 test_ca]: Mutex init OK 0xfff56504e0a8 [17/05 16:03:16.576 test_ca]: returning new pmt 6 for adapter 0, pmt pid 600 sid 600 0258 [17/05 16:03:16.576 test_ca]: CAPMT: : 0000 01 ff ff 03 00 00 ...... [17/05 16:03:16.576 test_ca]: test_create_capmt() OK [17/05 16:03:16.576 test_ca]: Expected file name: /tmp/ci_auth_Conax_CSP_CIPLUS_CAM_4.bin [17/05 16:03:16.576 test_ca]: File name: /tmp/ci_auth_Conax_CSP_CIPLUS_CAM_4.bin [17/05 16:03:16.576 test_ca]: test_get_authdata_filename() OK gcc -Os -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/httpc.c ../src/csa.c ../src/t2mi.c ../src/adapter.c ../src/axe.c ../src/ddci.c ../src/dvb.c ../src/pmt.c ../src/stream.c ../src/tables.c ../src/utils/mutex.c ../src/utils/hash_table.c ../src/utils/logging/logging.c ../src/utils/ticks.c ../src/ca.c ../src/aes.c ../src/socketworks.c ../src/utils.c ../src/api/variables.c ../src/api/symbols.c ../src/satipc.c ../src/minisatip.c ../src/dvbapi.c ../src/netceiver.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1022:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | 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:1023:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | 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:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | 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:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | 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:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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, | ^~~~~~~~~~~~~~~ ../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:21: /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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | 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:226:27: note: declared here 226 | 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:259:28: note: declared here 259 | 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:203:28: note: declared here 203 | 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) | ^~~~~~~~~~~~~~~~~~~~~~ Running ../build/test_pmt [17/05 16:03:26.783 test_pmt]: wait_pusi: found pid 255 with parity change without start indicator [17/05 16:03:26.783 test_pmt]: test_wait_pusi() OK [17/05 16:03:26.783 test_pmt]: Mutex init OK 0xfff338879078 [17/05 16:03:26.783 test_pmt]: Allocation batch with size 17600 at 0xfff3383d3080 [17/05 16:03:26.783 test_pmt]: returning new pmt 0 for adapter 0, pmt pid 100 sid 100 0064 [17/05 16:03:26.783 test_pmt]: ../src/pmt.c:966 Unlock disabled mutex 0xaab106ca3920 [17/05 16:03:26.783 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 [17/05 16:03:26.783 test_pmt]: ../src/pmt.c:966 Unlock disabled mutex 0xaab106ca3920 [17/05 16:03:26.783 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 [17/05 16:03:26.783 test_pmt]: ../src/pmt.c:966 Unlock disabled mutex 0xaab106ca3920 [17/05 16:03:26.783 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 [17/05 16:03:26.783 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 [17/05 16:03:26.783 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 [17/05 16:03:26.783 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..... [17/05 16:03:26.783 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. [17/05 16:03:26.784 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 [17/05 16:03:26.784 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 [17/05 16:03:26.784 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. [17/05 16:03:26.785 test_pmt]: correct CW found (len 9): id 1, parity 0, pmt 0, time 2 ms ago, expiry in 24998 ms, CW: 64 BB 0E 2D 98 AD 8C D1 [17/05 16:03:26.785 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 2 ms ago, expiry in 24998 ms, CW: 64 BB 0E 2D 98 AD 8C D1 [17/05 16:03:26.788 test_pmt]: pmt: decrypted pmt 0, packets 1000, CW 1, old CW -1, parity 0 at len 1000, channel_id 100 (pid 255) [17/05 16:03:26.788 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> [17/05 16:03:26.788 test_pmt]: test_decrypt() OK [17/05 16:03:26.788 test_pmt]: Original PMT:: 0000 02 b0 3b 02 06 c9 00 00 eb ff f0 18 09 04 09 c4 ..;............. 0010 fb 62 09 04 09 8c fa 62 09 04 09 af ff 62 09 04 .b.....b.....b.. 0020 09 8d fc 62 1b eb ff f0 03 52 01 02 03 ec 00 f0 ...b.....R...... 0030 09 0a 04 64 65 75 01 52 01 03 7c ae ca f2 00 ...deu.R..|.... [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 0 -> 12 : 1B EB FF F0 03 [17/05 16:03:26.788 test_pmt]: desc copy 3 bytes from 5 -> 17 : 52 01 02 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 3 at position 15 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 8 -> 20 : 03 EC 00 F0 09 [17/05 16:03:26.788 test_pmt]: desc copy 6 bytes from 13 -> 25 : 0A 04 64 [17/05 16:03:26.788 test_pmt]: desc copy 3 bytes from 19 -> 31 : 52 01 03 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 9 at position 23 [17/05 16:03:26.788 test_pmt]: new len is 35, old len is 59 [17/05 16:03:26.788 test_pmt]: CLEAN ONLY:: 0000 02 b0 23 02 06 f5 00 00 eb ff f0 00 1b eb ff f0 ..#............. 0010 03 52 01 02 03 ec 00 f0 09 0a 04 64 65 75 01 52 .R.........deu.R 0020 01 03 6b 1b 35 ec ..k.5. [17/05 16:03:26.788 test_pmt]: test_clean_psi_buffer_only() OK [17/05 16:03:26.788 test_pmt]: START: : 0000 02 b1 4e 78 57 c1 00 00 e0 a1 f0 00 1b e0 a1 f0 ..NxW........... 0010 09 52 01 a1 09 04 18 10 e8 b2 06 e0 56 f0 13 52 .R..........V..R 0020 01 56 0a 04 73 70 61 00 09 04 18 10 e8 b2 6a 02 .V..spa.......j. 0030 80 44 06 e0 57 f0 13 52 01 57 0a 04 71 61 61 00 .D..W..R.W..qaa. 0040 09 04 18 10 e8 b2 6a 02 80 44 06 e0 23 f0 0d 52 ......j..D..#..R 0050 01 23 59 08 73 70 61 10 00 04 00 05 06 e0 24 f0 .#Y.spa.......$. 0060 0d 52 01 24 59 08 65 73 6c 20 00 04 00 05 06 e0 .R.$Y.esl ...... 0070 25 f0 0a 59 08 65 6e 67 10 00 04 00 05 06 e0 26 %..Y.eng.......& 0080 f0 0a 59 08 63 61 74 10 00 04 00 05 06 e0 27 f0 ..Y.cat.......'. 0090 0d 52 01 27 59 08 65 75 73 10 00 04 00 05 c0 e0 .R.'Y.eus....... 00a0 d0 f0 41 c6 05 01 00 05 06 ff c2 38 43 53 45 5f ..A........8CSE_ 00b0 41 55 44 49 43 53 45 5f 46 55 54 31 43 53 45 5f AUDICSE_FUT1CSE_ 00c0 46 55 54 32 43 53 45 5f 47 43 4e 31 43 53 45 5f FUT2CSE_GCN1CSE_ 00d0 47 43 4e 32 43 53 45 5f 4d 53 44 31 43 53 45 5f GCN2CSE_MSD1CSE_ 00e0 4d 53 44 32 c0 e1 35 f0 0a c2 08 4c 41 4e 5a 00 MSD2..5....LANZ. 00f0 00 00 00 c1 e0 fd f0 0a c2 08 44 43 4f 4d 55 4e ..........DCOMUN 0100 00 00 c1 e1 33 f0 0a c2 08 4c 41 4e 5a 00 00 00 ....3....LANZ... 0110 00 c1 e1 64 f0 0a c2 08 4c 4f 52 44 00 00 00 00 ...d....LORD.... 0120 c1 e1 88 f0 0a c2 08 50 52 4f 46 49 4c 45 00 c1 .......PROFILE.. 0130 e2 6a f0 0a c2 08 47 43 5f 44 41 54 41 00 c1 e3 .j....GC_DATA... 0140 78 f0 0a c2 08 41 53 54 52 41 00 00 00 13 aa e6 x....ASTRA...... 0150 bc 00 .. [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 0 -> 12 : 1B E0 A1 F0 09 [17/05 16:03:26.788 test_pmt]: desc copy 3 bytes from 5 -> 17 : 52 01 A1 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 3 at position 15 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 14 -> 20 : 06 E0 56 F0 13 [17/05 16:03:26.788 test_pmt]: desc copy 3 bytes from 19 -> 25 : 52 01 56 [17/05 16:03:26.788 test_pmt]: desc copy 6 bytes from 22 -> 28 : 0A 04 73 [17/05 16:03:26.788 test_pmt]: desc copy 4 bytes from 34 -> 34 : 6A 02 80 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 13 at position 23 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 38 -> 38 : 06 E0 57 F0 13 [17/05 16:03:26.788 test_pmt]: desc copy 3 bytes from 43 -> 43 : 52 01 57 [17/05 16:03:26.788 test_pmt]: desc copy 6 bytes from 46 -> 46 : 0A 04 71 [17/05 16:03:26.788 test_pmt]: desc copy 4 bytes from 58 -> 52 : 6A 02 80 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 13 at position 41 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 62 -> 56 : 06 E0 23 F0 0D [17/05 16:03:26.788 test_pmt]: desc copy 3 bytes from 67 -> 61 : 52 01 23 [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 70 -> 64 : 59 08 73 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 13 at position 59 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 80 -> 74 : 06 E0 24 F0 0D [17/05 16:03:26.788 test_pmt]: desc copy 3 bytes from 85 -> 79 : 52 01 24 [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 88 -> 82 : 59 08 65 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 13 at position 77 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 98 -> 92 : 06 E0 25 F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 103 -> 97 : 59 08 65 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 95 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 113 -> 107 : 06 E0 26 F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 118 -> 112 : 59 08 63 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 110 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 128 -> 122 : 06 E0 27 F0 0D [17/05 16:03:26.788 test_pmt]: desc copy 3 bytes from 133 -> 127 : 52 01 27 [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 136 -> 130 : 59 08 65 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 13 at position 125 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 146 -> 140 : C0 E0 D0 F0 41 [17/05 16:03:26.788 test_pmt]: desc copy 7 bytes from 151 -> 145 : C6 05 01 [17/05 16:03:26.788 test_pmt]: desc copy 58 bytes from 158 -> 152 : C2 38 43 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 65 at position 143 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 216 -> 210 : C0 E1 35 F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 221 -> 215 : C2 08 4C [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 213 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 231 -> 225 : C1 E0 FD F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 236 -> 230 : C2 08 44 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 228 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 246 -> 240 : C1 E1 33 F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 251 -> 245 : C2 08 4C [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 243 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 261 -> 255 : C1 E1 64 F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 266 -> 260 : C2 08 4C [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 258 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 276 -> 270 : C1 E1 88 F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 281 -> 275 : C2 08 50 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 273 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 291 -> 285 : C1 E2 6A F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 296 -> 290 : C2 08 47 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 288 [17/05 16:03:26.788 test_pmt]: es: copy 5 bytes from 306 -> 300 : C1 E3 78 F0 0A [17/05 16:03:26.788 test_pmt]: desc copy 10 bytes from 311 -> 305 : C2 08 41 [17/05 16:03:26.788 test_pmt]: clean_psi: setting the new es_len 10 at position 303 [17/05 16:03:26.788 test_pmt]: new len is 316, old len is 334 [17/05 16:03:26.788 test_pmt]: CLEAN: : 0000 00 02 b1 3c 78 57 fd 00 00 e0 a1 f0 00 1b e0 a1 ...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:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | 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:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | 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:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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, | ^~~~~~~~~~~~~~~ ../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:21: /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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | 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:226:27: note: declared here 226 | 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:259:28: note: declared here 259 | 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:203:28: note: declared here 203 | 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) | ^~~~~~~~~~~~~~~~~~~~~~ Running ../build/test_ddci [17/05 16:03:37.192 test_ddci]: Mutex init OK 0xffffd4854080 [17/05 16:03:37.192 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4854080 [17/05 16:03:37.192 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xaab0688c6900 [17/05 16:03:37.192 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4854080 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xffffd4854080 [17/05 16:03:37.193 test_ddci]: Destroying mutex 0xffffd4854080 [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xffffd4854080 [17/05 16:03:37.193 test_ddci]: Adding channel 200: DDCIs: 0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4854080 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfff77ce6d880 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4854080 [17/05 16:03:37.193 test_ddci]: Loaded 1 channels from /tmp/ddci.conf [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xffffd4854080 [17/05 16:03:37.193 test_ddci]: Destroying mutex 0xffffd4854080 [17/05 16:03:37.193 test_ddci]: test_channels() OK [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xaab0688628b8 [17/05 16:03:37.193 test_ddci]: ../src/tables.c:90 Mutex not enabled 0xaab068896258 [17/05 16:03:37.193 test_ddci]: ../src/tables.c:118 Unlock disabled mutex 0xaab068896258 [17/05 16:03:37.193 test_ddci]: ../src/tables.c:64 Mutex not enabled 0xaab068896258 [17/05 16:03:37.193 test_ddci]: CA 0 is disabled for adapter 0 [17/05 16:03:37.193 test_ddci]: CA 0 is disabled for adapter 1 [17/05 16:03:37.193 test_ddci]: CA 0 is disabled for adapter 8 [17/05 16:03:37.193 test_ddci]: ../src/tables.c:83 Unlock disabled mutex 0xaab068896258 [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xaab0688ac050 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:575 Locking mutex 0xaab0688ac050 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:579 allocation_wrapper malloc allocated 368 bytes at 0xfff77d2d3040 [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xfff77d2d3048 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:589 Locking mutex 0xfff77d2d3048 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:591 Unlocking mutex 0xaab0688ac050 [17/05 16:03:37.193 test_ddci]: sockets_add: handle -2 (type 0) returning socket sock 0 [:0] read: 0xaab06881e034 [17/05 16:03:37.193 test_ddci]: ../src/socketworks.c:590 Unlocking mutex 0xfff77d2d3048 [17/05 16:03:37.193 test_ddci]: set_socket_thread: thread fff77ce4f770 for sockets 0 [17/05 16:03:37.193 test_ddci]: CA 0 can handle CAID 0100 mask FFFF on adapter 0 at position 0 [17/05 16:03:37.193 test_ddci]: CA 0 can handle CAID 0500 mask FFFF on adapter 1 at position 0 [17/05 16:03:37.193 test_ddci]: ddci_process_pmt: adapter 8, pmt 3, pid 3000, sid 400, ddid -1, name: [17/05 16:03:37.193 test_ddci]: DDCI not ready or busy at the moment: retry [17/05 16:03:37.193 CA_poll]: Starting select_and_execute on thread ID fff77ce4f770, thread_name CA_poll [17/05 16:03:37.193 test_ddci]: ddci_process_pmt: adapter 8, pmt 3, pid 3000, sid 400, ddid -1, name: [17/05 16:03:37.193 test_ddci]: no suitable DDCI found [17/05 16:03:37.193 test_ddci]: ddci_process_pmt: adapter 8, pmt 0, pid 0, sid 100, ddid -1, name: [17/05 16:03:37.193 test_ddci]: match_caid: match caid 0100 (0/2) with CA caid 0100 and mask FFFF [17/05 16:03:37.193 test_ddci]: DDCI 0 CAID 0100 and mask FFFF matched PMT 0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xaab0688628b8 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfff77d2d3240 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xaab0688628b8 [17/05 16:03:37.193 test_ddci]: ../src/ddci.c:394 Mutex not enabled 0xffffd48392f0 [17/05 16:03:37.193 test_ddci]: Mapping CAT to PMT 0 from transponder 0, DDCI transponder 0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3440 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:575 Locking mutex 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:579 allocation_wrapper malloc allocated 4192 bytes at 0xfff77d2cb030 [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xfff77d2cb038 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:589 Locking mutex 0xfff77d2cb038 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:591 Unlocking mutex 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/pmt.c:327 Locking mutex 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/pmt.c:354 Unlocking mutex 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/pmt.c:355 Unlocking mutex 0xfff77d2cb038 [17/05 16:03:37.193 test_ddci]: new filter 0 added for adapter 8, pid 1, flags 16, mask_len 0, master_filter 0 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 1 (1) to 1, pmt 0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3490 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 17 (17) to 17, pmt 0 [17/05 16:03:37.193 test_ddci]: found DDCI 0 for pmt 0, running channels 1, max_channels 1 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d34f0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 0 (0) to 0, pmt 0 [17/05 16:03:37.193 test_ddci]: DD 0 adding ECM pid 256 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3550 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 0 [17/05 16:03:37.193 test_ddci]: DD 0 adding ECM pid 6144 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d35b0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 6144 (6144) to 6144, pmt 0 [17/05 16:03:37.193 test_ddci]: DD 0 adding stream pid 101 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3620 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 101 (101) to 101, pmt 0 [17/05 16:03:37.193 test_ddci]: DD 0 adding stream pid 102 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3680 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 102 (102) to 102, pmt 0 [17/05 16:03:37.193 test_ddci]: found filter 0 for pid 1, master 0 (1) [17/05 16:03:37.193 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [17/05 16:03:37.193 test_ddci]: pid 1, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter 0, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 17, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 256, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 6144, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: Dumping pids table for adapter 0, number of unknown pids: 0 [17/05 16:03:37.193 test_ddci]: pid 1, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 17, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 0, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 256, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 6144, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 101, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 102, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: Mapping Table for all devices [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 17, adapter 8 pid 17, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: ../src/ddci.c:462 Unlock disabled mutex 0xffffd48392f0 [17/05 16:03:37.193 test_ddci]: ddci_process_pmt: adapter 8, pmt 1, pid 1000, sid 200, ddid -1, name: [17/05 16:03:37.193 test_ddci]: match_caid: match caid 0100 (0/2) with CA caid 0100 and mask FFFF [17/05 16:03:37.193 test_ddci]: DDCI 0 CAID 0100 and mask FFFF matched PMT 1 [17/05 16:03:37.193 test_ddci]: match_caid: match caid 0500 (1/2) with CA caid 0500 and mask FFFF [17/05 16:03:37.193 test_ddci]: DDCI 1 CAID 0500 and mask FFFF matched PMT 1 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xaab0688628b8 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfff77d2d32d0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xaab0688628b8 [17/05 16:03:37.193 test_ddci]: DDCI 0 cannot be used for PMT 1, pid 1000 (used channels 1 max 1) [17/05 16:03:37.193 test_ddci]: ../src/ddci.c:394 Mutex not enabled 0xffffd4839670 [17/05 16:03:37.193 test_ddci]: Mapping CAT to PMT 1 from transponder 0, DDCI transponder 0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d36e0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: found already existing pid 1 flags 1 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:575 Locking mutex 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:579 allocation_wrapper malloc allocated 4192 bytes at 0xfff77d2cc570 [17/05 16:03:37.193 test_ddci]: Mutex init OK 0xfff77d2cc578 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:589 Locking mutex 0xfff77d2cc578 [17/05 16:03:37.193 test_ddci]: ../src/utils.c:591 Unlocking mutex 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/pmt.c:327 Locking mutex 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/pmt.c:354 Unlocking mutex 0xaab0688631b8 [17/05 16:03:37.193 test_ddci]: ../src/pmt.c:355 Unlocking mutex 0xfff77d2cc578 [17/05 16:03:37.193 test_ddci]: new filter 1 added for adapter 8, pid 1, flags 16, mask_len 0, master_filter 0 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 1 (1) to 1, pmt 1 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3740 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: found already existing pid 17 flags 1 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 17 (17) to 17, pmt 1 [17/05 16:03:37.193 test_ddci]: found DDCI 1 for pmt 1, running channels 1, max_channels 1 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d37a0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 1000 (1000) to 1000, pmt 1 [17/05 16:03:37.193 test_ddci]: DD 1 adding ECM pid 256 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d223230 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: found already existing pid 256 flags 1 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 1 [17/05 16:03:37.193 test_ddci]: DD 1 adding ECM pid 1280 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d223280 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 1280 (1280) to 1280, pmt 1 [17/05 16:03:37.193 test_ddci]: DD 1 adding stream pid 201 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2232d0 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 201 (201) to 201, pmt 1 [17/05 16:03:37.193 test_ddci]: DD 1 adding stream pid 202 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d223320 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.193 test_ddci]: mapped adapter 8 (8) pid 202 (202) to 202, pmt 1 [17/05 16:03:37.193 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [17/05 16:03:37.193 test_ddci]: pid 1, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter 1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 17, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 256, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 6144, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 1280, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: Dumping pids table for adapter 1, number of unknown pids: 0 [17/05 16:03:37.193 test_ddci]: pid 1, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 17, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 1000, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 256, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 1280, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 201, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: pid 202, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.193 test_ddci]: Mapping Table for all devices [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 17, adapter 8 pid 17, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 1, ddpid 1000, adapter 8 pid 1000, rewrite 0: 1 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 1, ddpid 202, adapter 8 pid 202, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 1, ddpid 201, adapter 8 pid 201, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 1, ddpid 17, adapter 8 pid 17, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: DD 1, ddpid 1, adapter 8 pid 1, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.193 test_ddci]: ../src/ddci.c:462 Unlock disabled mutex 0xffffd4839670 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xaab0688628b8 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfff77d2d3370 [17/05 16:03:37.193 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xaab0688628b8 [17/05 16:03:37.193 test_ddci]: ddci_process_pmt: adapter 8, pmt 2, pid 2000, sid 300, ddid -1, name: [17/05 16:03:37.193 test_ddci]: ../src/ddci.c:394 Mutex not enabled 0xffffd4839670 [17/05 16:03:37.193 test_ddci]: found DDCI 1 for pmt 2, running channels 2, max_channels 2 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d223370 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: mapped adapter 8 (8) pid 2000 (2000) to 2000, pmt 2 [17/05 16:03:37.194 test_ddci]: DD 1 adding ECM pid 1280 [17/05 16:03:37.194 test_ddci]: mapped adapter 8 (8) pid 1280 (1280) to 1280, pmt 2 [17/05 16:03:37.194 test_ddci]: DD 1 adding ECM pid 256 [17/05 16:03:37.194 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 2 [17/05 16:03:37.194 test_ddci]: DD 1 adding ECM pid 254 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2233c0 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: mapped adapter 8 (8) pid 254 (254) to 254, pmt 2 [17/05 16:03:37.194 test_ddci]: DD 1 adding stream pid 301 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d223420 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: mapped adapter 8 (8) pid 301 (301) to 301, pmt 2 [17/05 16:03:37.194 test_ddci]: DD 1 adding stream pid 302 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d223470 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: mapped adapter 8 (8) pid 302 (302) to 302, pmt 2 [17/05 16:03:37.194 test_ddci]: DD 1 adding stream pid 255 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2234c0 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: mapped adapter 8 (8) pid 255 (255) to 255, pmt 2 [17/05 16:03:37.194 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [17/05 16:03:37.194 test_ddci]: pid 1, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter 1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 17, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 256, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 6144, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 1280, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 254, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: Dumping pids table for adapter 1, number of unknown pids: 0 [17/05 16:03:37.194 test_ddci]: pid 1, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 17, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 1000, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 256, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 1280, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 201, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 202, fd 0, packets 0, d/c errs 0/0, flags 1, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 2000, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 254, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 301, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 302, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: pid 255, fd 0, packets 0, d/c errs 0/0, flags 2, pmt -1, filter -1, sock -1, sids: 257 0 0 0 0 0 0 0 [17/05 16:03:37.194 test_ddci]: Mapping Table for all devices [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 17, adapter 8 pid 17, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 1000, adapter 8 pid 1000, rewrite 0: 1 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 202, adapter 8 pid 202, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: 1 2 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 201, adapter 8 pid 201, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: 1 2 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 17, adapter 8 pid 17, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 1, adapter 8 pid 1, rewrite 1: 1 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: ../src/ddci.c:462 Unlock disabled mutex 0xffffd4839670 [17/05 16:03:37.194 test_ddci]: ddci_del_pmt: deleting pmt id 1, sid 200 (C8), pid 1000, ddci 1, name [17/05 16:03:37.194 test_ddci]: del_pmt_mapping_table: ad 8 pid 302 ddci_pid 302, pid also associated with pmt 2 [17/05 16:03:37.194 test_ddci]: del_pmt_mapping_table: ad 8 pid 254 ddci_pid 254, pid also associated with pmt 2 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 1 pid 1000 ddci_pid 1000 [17/05 16:03:37.194 test_ddci]: del_pmt_mapping_table: ad 8 pid 255 ddci_pid 255, pid also associated with pmt 2 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 1 pid 202 ddci_pid 202 [17/05 16:03:37.194 test_ddci]: del_pmt_mapping_table: ad 8 pid 256 ddci_pid 256, pid also associated with pmt 2 [17/05 16:03:37.194 test_ddci]: del_pmt_mapping_table: ad 8 pid 301 ddci_pid 301, pid also associated with pmt 2 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 1 pid 201 ddci_pid 201 [17/05 16:03:37.194 test_ddci]: del_pmt_mapping_table: ad 8 pid 1280 ddci_pid 1280, pid also associated with pmt 2 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 1 pid 17 ddci_pid 17 [17/05 16:03:37.194 test_ddci]: Marking pid 17 deleted on adapter 1 (initial ad 8 pid 17) [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 1 pid 1 ddci_pid 1 [17/05 16:03:37.194 test_ddci]: deleting filter 1 [17/05 16:03:37.194 test_ddci]: ../src/pmt.c:388 Locking mutex 0xfff77d2cc578 [17/05 16:03:37.194 test_ddci]: ../src/pmt.c:393 Locking mutex 0xaab0688631b8 [17/05 16:03:37.194 test_ddci]: Found 0 filters for adapter 8 pid 1 master 0 with flags 5 [17/05 16:03:37.194 test_ddci]: pid not found or pid in use by sid 257 [17/05 16:03:37.194 test_ddci]: ../src/pmt.c:433 Unlocking mutex 0xaab0688631b8 [17/05 16:03:37.194 test_ddci]: Destroying mutex 0xfff77d2cc578 [17/05 16:03:37.194 test_ddci]: deleted filter 1, ad 8, pid 1, max filters 2 [17/05 16:03:37.194 test_ddci]: Marking pid 1 deleted on adapter 1 (initial ad 8 pid 1) [17/05 16:03:37.194 test_ddci]: del_pmt_mapping_table: ad 8 pid 2000 ddci_pid 2000, pid also associated with pmt 2 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: Mapping Table for all devices [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 17, adapter 8 pid 17, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: -1 2 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: -1 2 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: ddci_del_pmt: deleting pmt id 0, sid 100 (64), pid 0, ddci 0, name [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 0 pid 102 ddci_pid 102 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 0 pid 256 ddci_pid 256 [17/05 16:03:37.194 test_ddci]: Marking pid 256 deleted on adapter 0 (initial ad 8 pid 256) [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 0 pid 6144 ddci_pid 6144 [17/05 16:03:37.194 test_ddci]: Marking pid 6144 deleted on adapter 0 (initial ad 8 pid 6144) [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 0 pid 0 ddci_pid 0 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 0 pid 17 ddci_pid 17 [17/05 16:03:37.194 test_ddci]: Marking pid 17 deleted on adapter 0 (initial ad 8 pid 17) [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 0 pid 1 ddci_pid 1 [17/05 16:03:37.194 test_ddci]: deleting filter 0 [17/05 16:03:37.194 test_ddci]: ../src/pmt.c:388 Locking mutex 0xfff77d2cb038 [17/05 16:03:37.194 test_ddci]: ../src/pmt.c:393 Locking mutex 0xaab0688631b8 [17/05 16:03:37.194 test_ddci]: Found 0 filters for adapter 8 pid 1 master 0 with flags 5 [17/05 16:03:37.194 test_ddci]: pid not found or pid in use by sid 0 [17/05 16:03:37.194 test_ddci]: ../src/pmt.c:433 Unlocking mutex 0xaab0688631b8 [17/05 16:03:37.194 test_ddci]: Destroying mutex 0xfff77d2cb038 [17/05 16:03:37.194 test_ddci]: deleted filter 0, ad 8, pid 1, max filters 1 [17/05 16:03:37.194 test_ddci]: Marking pid 1 deleted on adapter 0 (initial ad 8 pid 1) [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 0 pid 101 ddci_pid 101 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: Mapping Table for all devices [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: -1 2 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: -1 2 -1 -1 [17/05 16:03:37.194 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [17/05 16:03:37.194 test_ddci]: ddci_del_pmt: deleting pmt id 2, sid 300 (12C), pid 2000, ddci 1, name [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 2 pid 302 ddci_pid 302 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 2 pid 254 ddci_pid 254 [17/05 16:03:37.194 test_ddci]: Marking pid 254 deleted on adapter 1 (initial ad 8 pid 254) [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 2 pid 255 ddci_pid 255 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 2 pid 256 ddci_pid 256 [17/05 16:03:37.194 test_ddci]: Marking pid 256 deleted on adapter 1 (initial ad 8 pid 256) [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 2 pid 301 ddci_pid 301 [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 2 pid 1280 ddci_pid 1280 [17/05 16:03:37.194 test_ddci]: Marking pid 1280 deleted on adapter 1 (initial ad 8 pid 1280) [17/05 16:03:37.194 test_ddci]: Deleting ad 8 pmt 2 pid 2000 ddci_pid 2000 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: Mapping Table for all devices [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: Destroying mutex 0xffffd4839618 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: Destroying mutex 0xffffd4839998 [17/05 16:03:37.194 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xaab0688628b8 [17/05 16:03:37.194 test_ddci]: Destroying mutex 0xaab0688628b8 [17/05 16:03:37.194 test_ddci]: destroy disabled mutex 0xfff77d2cb038 [17/05 16:03:37.194 test_ddci]: destroy disabled mutex 0xfff77d2cc578 [17/05 16:03:37.194 test_ddci]: test_add_del_pmt() OK [17/05 16:03:37.197 test_ddci]: test_ddci.c:243 allocation_wrapper malloc allocated 18800010 bytes at 0xfff77bc3f040 [17/05 16:03:37.197 test_ddci]: DDCI 0, dropping packets for adapter 0 Message repeated 1 times [17/05 16:03:37.197 test_ddci]: test_ddci.c:261 allocation_wrapper free called with argument 0xfff77bc3f040 [17/05 16:03:37.197 test_ddci]: test_push_ts_to_ddci() OK [17/05 16:03:37.199 test_ddci]: test_ddci.c:275 allocation_wrapper malloc allocated 18800010 bytes at 0xfff77bc3f050 [17/05 16:03:37.199 test_ddci]: Mutex init OK 0xffffd48510d8 [17/05 16:03:37.199 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd48510d8 [17/05 16:03:37.199 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3230 [17/05 16:03:37.199 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd48510d8 [17/05 16:03:37.199 test_ddci]: ../src/adapter.c:1141: get_adapter returns NULL for adapter_id 0 [17/05 16:03:37.199 test_ddci]: mapped adapter 2 (2) pid 1000 (1000) to 1000, pmt 9 [17/05 16:03:37.199 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd48510d8 [17/05 16:03:37.199 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3290 [17/05 16:03:37.199 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd48510d8 [17/05 16:03:37.199 test_ddci]: ../src/adapter.c:1141: get_adapter returns NULL for adapter_id 0 [17/05 16:03:37.199 test_ddci]: mapped adapter 1 (1) pid 1000 (1000) to 1001, pmt 0 [17/05 16:03:37.199 test_ddci]: Could not push more data for adapter 1, rlen 1880, lbuf 1880, new pos -1 [17/05 16:03:37.199 test_ddci]: test_ddci.c:315 allocation_wrapper free called with argument 0xfff77bc3f050 [17/05 16:03:37.199 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xffffd48510d8 [17/05 16:03:37.199 test_ddci]: Destroying mutex 0xffffd48510d8 [17/05 16:03:37.199 test_ddci]: test_copy_ts_from_ddci() OK [17/05 16:03:37.201 test_ddci]: test_ddci.c:352 allocation_wrapper malloc allocated 18800010 bytes at 0xfff77bc3f060 [17/05 16:03:37.201 test_ddci]: Mutex init OK 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: Mutex init OK 0xffffd4851508 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3240 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: mapped adapter 5 (5) pid 1000 (1000) to 1000, pmt 0 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d32a0 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: mapped adapter 5 (5) pid 2000 (2000) to 2000, pmt 0 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3300 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: mapped adapter 1 (1) pid 1000 (1000) to 1001, pmt 0 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3360 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: mapped adapter 1 (1) pid 2000 (2000) to 2001, pmt 0 [17/05 16:03:37.201 test_ddci]: ../src/ddci.c:837 Locking mutex 0xffffd4851508 [17/05 16:03:37.201 test_ddci]: writing 188 bytes to DDCI device 0, fd 0, sock 0 [17/05 16:03:37.201 test_ddci]: called writev with len 1, first pid 1001 [17/05 16:03:37.201 test_ddci]: ddci_process_ts ad 1 ro 18799812, wo 376 max 18800000 [17/05 16:03:37.201 test_ddci]: Could not push more data for adapter 1, rlen 1880, lbuf 1880, new pos -1 [17/05 16:03:37.201 test_ddci]: adapter 1 buffer full, DD 0, ro 0, wo 376 [17/05 16:03:37.201 test_ddci]: ../src/ddci.c:945 Unlocking mutex 0xffffd4851508 [17/05 16:03:37.201 test_ddci]: test_ddci.c:401 allocation_wrapper free called with argument 0xfff77bc3f060 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: Destroying mutex 0xffffd4851830 [17/05 16:03:37.201 test_ddci]: test_ddci_process_ts() OK [17/05 16:03:37.201 test_ddci]: Mutex init OK 0xffffd484c6f8 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd484c6f8 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3230 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd484c6f8 [17/05 16:03:37.201 test_ddci]: mapped adapter 9 (9) pid 4096 (4096) to 4096, pmt 0 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd484c6f8 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3290 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd484c6f8 [17/05 16:03:37.201 test_ddci]: mapped adapter 0 (0) pid 4096 (4096) to 4097, pmt 0 [17/05 16:03:37.201 test_ddci]: ddci_create_pat: transponder 0 version 0, len 17 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xffffd484c6f8 [17/05 16:03:37.201 test_ddci]: Destroying mutex 0xffffd484c6f8 [17/05 16:03:37.201 test_ddci]: test_create_pat() OK [17/05 16:03:37.201 test_ddci]: Mutex init OK 0xffffd4848048 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4848048 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d3240 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4848048 [17/05 16:03:37.201 test_ddci]: ../src/adapter.c:1141: get_adapter returns NULL for adapter_id 0 [17/05 16:03:37.201 test_ddci]: mapped adapter 0 (0) pid 1023 (1023) to 1023, pmt 0 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xffffd4848048 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfff77d2d32a0 [17/05 16:03:37.201 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xffffd4848048 [17/05 16:03:37.201 test_ddci]: ../src/adapter.c:1141: get_adapter returns NULL for adapter_id 0 [17/05 16:03:37.201 test_ddci]: mapped adapter 0 (0) pid 7068 (7068) to 7068, pmt 0 [17/05 16:03:37.201 test_ddci]: ddci_create_pmt: PMT 1 AD 0, pid: 03FF (1023), ver 0, sid 0066 (102) channel: TEST CHANNEL HD [17/05 16:03:37.201 test_ddci]: ddci_create_pmt: pmt 1 added caid 0100, pid 1B9C [17/05 16:03:37.202 test_ddci]: ddci_create_pmt: pmt 1 added pid 03FF, type 1B [17/05 16:03:37.202 test_ddci]: ddci_create_pmt: pmt 1 added pid 0055, type 03 [17/05 16:03:37.202 test_ddci]: PACK: : 0000 00 02 00 21 00 66 03 00 00 ff ff 00 08 09 06 01 ...!.f.......... 0010 00 1b 9c 01 02 1b 03 ff 00 02 54 00 03 00 55 00 ..........T...U. 0020 00 b9 22 84 02 ..".. [17/05 16:03:37.202 test_ddci]: TS: : 0000 47 40 63 12 00 02 00 21 00 66 03 00 00 ff ff 00 G@c....!.f...... 0010 08 09 06 01 00 1b 9c 01 02 1b 03 ff 00 02 54 00 ..............T. 0020 03 00 55 00 00 b9 22 84 02 ff ff 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 ............ [17/05 16:03:37.202 test_ddci]: ../src/pmt.c:2012 Mutex not enabled 0xffffd484f930 [17/05 16:03:37.202 test_ddci]: new PMT 0 AD 0, pid: 0099 (153), len 33, pi_len 8, ver 1, pcr 8191, sid 0066 (102) [17/05 16:03:37.202 test_ddci]: PMT 0 PI pos 1 caid 0100 => pid 1B9C (7068), index 0 [17/05 16:03:37.202 test_ddci]: get_master_pmt_for_pid: no pmt found for pid 1023 adapter 0 [17/05 16:03:37.202 test_ddci]: PMT pid 153 - stream pid 03FF (1023), type 27, es_len 2, pos 17, caids 1 [17/05 16:03:37.202 test_ddci]: get_master_pmt_for_pid: no pmt found for pid 85 adapter 0 [17/05 16:03:37.202 test_ddci]: PMT pid 153 - stream pid 0055 (85), type 3, es_len 0, pos 24, caids 1 [17/05 16:03:37.202 test_ddci]: Found 0 filters for adapter 0 pid 153 master 0 with flags 5 [17/05 16:03:37.202 test_ddci]: pid not found or pid in use by sid 0 [17/05 16:03:37.202 test_ddci]: ../src/pmt.c:2110 Unlock disabled mutex 0xffffd484f930 [17/05 16:03:37.202 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xffffd4848048 [17/05 16:03:37.202 test_ddci]: Destroying mutex 0xffffd4848048 [17/05 16:03:37.202 test_ddci]: test_create_pmt() OK gcc -Os -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/httpc.c ../src/csa.c ../src/t2mi.c ../src/adapter.c ../src/axe.c ../src/ddci.c ../src/dvb.c ../src/pmt.c ../src/stream.c ../src/tables.c ../src/utils/mutex.c ../src/utils/hash_table.c ../src/utils/logging/logging.c ../src/utils/ticks.c ../src/ca.c ../src/aes.c ../src/socketworks.c ../src/utils.c ../src/api/variables.c ../src/api/symbols.c ../src/satipc.c ../src/minisatip.c ../src/dvbapi.c ../src/netceiver.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1022:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | 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:1023:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | 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:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | 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:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | 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:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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, | ^~~~~~~~~~~~~~~ ../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:21: /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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | 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:226:27: note: declared here 226 | 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:259:28: note: declared here 259 | 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:203:28: note: declared here 203 | 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) | ^~~~~~~~~~~~~~~~~~~~~~ Running ../build/test_dvb [17/05 16:03:47.347 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 [17/05 16:03:47.347 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 [17/05 16:03:47.347 test_dvb]: test_detect_dvb_parameters_general() OK [17/05 16:03:47.347 test_dvb]: detect_dvb_parameters (S)-> freq=11734 [17/05 16:03:47.347 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 [17/05 16:03:47.347 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.35 [17/05 16:03:47.347 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 [17/05 16:03:47.347 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.25 [17/05 16:03:47.347 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 [17/05 16:03:47.347 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.20 [17/05 16:03:47.347 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 [17/05 16:03:47.347 test_dvb]: test_detect_dvb_parameters_roll_off() OK gcc -Os -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/httpc.c ../src/csa.c ../src/t2mi.c ../src/adapter.c ../src/axe.c ../src/ddci.c ../src/dvb.c ../src/pmt.c ../src/stream.c ../src/tables.c ../src/utils/mutex.c ../src/utils/hash_table.c ../src/utils/logging/logging.c ../src/utils/ticks.c ../src/ca.c ../src/aes.c ../src/socketworks.c ../src/utils.c ../src/api/variables.c ../src/api/symbols.c ../src/satipc.c ../src/minisatip.c ../src/dvbapi.c ../src/netceiver.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1022:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | 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:1023:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | 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:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | 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:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | 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:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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, | ^~~~~~~~~~~~~~~ ../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:21: /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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | 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:226:27: note: declared here 226 | 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:259:28: note: declared here 259 | 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:203:28: note: declared here 203 | 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) | ^~~~~~~~~~~~~~~~~~~~~~ Running ../build/test_minisatip gcc -Os -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/httpc.c ../src/csa.c ../src/t2mi.c ../src/adapter.c ../src/axe.c ../src/ddci.c ../src/dvb.c ../src/pmt.c ../src/stream.c ../src/tables.c ../src/utils/mutex.c ../src/utils/hash_table.c ../src/utils/logging/logging.c ../src/utils/ticks.c ../src/ca.c ../src/aes.c ../src/socketworks.c ../src/utils.c ../src/api/variables.c ../src/api/symbols.c ../src/satipc.c ../src/minisatip.c ../src/dvbapi.c ../src/netceiver.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1022:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | 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:1023:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | 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:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | 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:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | 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:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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, | ^~~~~~~~~~~~~~~ ../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:21: /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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | 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:226:27: note: declared here 226 | 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:259:28: note: declared here 259 | 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:203:28: note: declared here 203 | 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) | ^~~~~~~~~~~~~~~~~~~~~~ Running ../build/test_utils [17/05 16:04:07.542 test_utils]: mkdir /tmp failed [17/05 16:04:07.542 test_utils]: test_mkdir_recursive() OK gcc -Os -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/httpc.c ../src/csa.c ../src/t2mi.c ../src/adapter.c ../src/axe.c ../src/ddci.c ../src/dvb.c ../src/pmt.c ../src/stream.c ../src/tables.c ../src/utils/mutex.c ../src/utils/hash_table.c ../src/utils/logging/logging.c ../src/utils/ticks.c ../src/ca.c ../src/aes.c ../src/socketworks.c ../src/utils.c ../src/api/variables.c ../src/api/symbols.c ../src/satipc.c ../src/minisatip.c ../src/dvbapi.c ../src/netceiver.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1022:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | 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:1023:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | 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:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | 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:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | 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:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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, | ^~~~~~~~~~~~~~~ ../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:21: /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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | 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:226:27: note: declared here 226 | 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:259:28: note: declared here 259 | 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:203:28: note: declared here 203 | 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) | ^~~~~~~~~~~~~~~~~~~~~~ Running ../build/test_socketworks [17/05 16:04:17.750 test_socketworks]: Mutex init OK 0xaab12b94c438 [17/05 16:04:17.750 test_socketworks]: Mutex init OK 0xfff78460a878 [17/05 16:04:17.750 test_socketworks]: sockets_add: handle 7 (type 0) returning socket sock 0 [:0] read: 0xaab12b8bcab0 [17/05 16:04:17.750 test_socketworks]: test_socket_enque_highprio() OK [17/05 16:04:17.750 test_socketworks]: SOCK 0: flushed 0 out of 2 (1 bytes) in 0 ms [17/05 16:04:17.750 test_socketworks]: SOCK 0 moved priority packet in the queue at pos 0 instead of 2 [17/05 16:04:17.750 test_socketworks]: test_socket_writev_prio() OK [17/05 16:04:17.750 test_socketworks]: sock 0 dropping enqueued stream data from 1 to 2 [17/05 16:04:17.750 test_socketworks]: test_socket_writev_prio_flush() OK [17/05 16:04:17.750 test_socketworks]: wrote packet 0: spos 2 wpos 3 [17/05 16:04:17.750 test_socketworks]: wrote packet 1: spos 2 wpos 4 [17/05 16:04:17.750 test_socketworks]: wrote packet 2: spos 2 wpos 5 [17/05 16:04:17.750 test_socketworks]: wrote packet 3: spos 2 wpos 6 [17/05 16:04:17.750 test_socketworks]: wrote packet 4: spos 2 wpos 7 [17/05 16:04:17.750 test_socketworks]: wrote packet 5: spos 2 wpos 8 [17/05 16:04:17.750 test_socketworks]: wrote packet 6: spos 2 wpos 9 [17/05 16:04:17.750 test_socketworks]: wrote packet 7: spos 2 wpos 0 [17/05 16:04:17.750 test_socketworks]: wrote packet 8: spos 2 wpos 1 [17/05 16:04:17.750 test_socketworks]: Insufficient bandwidth: sock 0: overflow 0.0 MB [17/05 16:04:17.750 test_socketworks]: wrote packet 9: spos 2 wpos 1 [17/05 16:04:17.750 test_socketworks]: test_socket_buffering() OK [17/05 16:04:17.750 test_socketworks]: sockets_del: sock 0 -> handle 7, sid -1, overflow bytes 10, allocated 10, used 16, unsend packets 0 [17/05 16:04:17.750 test_socketworks]: sockets_del: sock 0 Last open socket is at index 0 current_handle 7 [17/05 16:04:17.750 test_socketworks]: Destroying mutex 0xfff78460a878 [17/05 16:04:17.750 test_socketworks]: destroy disabled mutex 0xaab12b9643e8 gcc -Os -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/httpc.c ../src/csa.c ../src/t2mi.c ../src/adapter.c ../src/axe.c ../src/ddci.c ../src/dvb.c ../src/pmt.c ../src/stream.c ../src/tables.c ../src/utils/mutex.c ../src/utils/hash_table.c ../src/utils/logging/logging.c ../src/utils/ticks.c ../src/ca.c ../src/aes.c ../src/socketworks.c ../src/utils.c ../src/api/variables.c ../src/api/symbols.c ../src/satipc.c ../src/minisatip.c ../src/dvbapi.c ../src/netceiver.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:1022:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | 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:1023:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | 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:1024:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1026:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | 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:1028:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | 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:1030:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | 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:1053:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | 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:1056:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | 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:1077:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1077 | 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:1079:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1079 | 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:1081:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | 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:1167:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | 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:1168:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | 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:1170:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 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:1172:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | 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:1173:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | 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:1300:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | 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:1301:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | 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:1302:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1302 | 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:1305:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1305 | 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:1306:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1306 | 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:1308:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1308 | 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:1309:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1309 | 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:1340:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1340 | 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:1342:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1342 | 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, | ^~~~~~~~~~~~~~~ ../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:21: /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:23: /usr/include/openssl/dh.h:202:27: note: declared here 202 | 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:258:27: note: declared here 258 | 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:269:28: note: declared here 269 | 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:226:27: note: declared here 226 | 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:259:28: note: declared here 259 | 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:203:28: note: declared here 203 | 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) | ^~~~~~~~~~~~~~~~~~~~~~ Running ../build/utils/test_hash_table [17/05 16:04:27.884 test_hash_table]: Mutex init OK 0xfffffb3dc540 [17/05 16:04:27.884 test_hash_table]: Mutex init OK 0xfffffb3dc480 [17/05 16:04:27.884 test_hash_table]: Destroying mutex 0xfffffb3dc540 [17/05 16:04:27.884 test_hash_table]: Hash conflicts 56, len -46, size 180 [17/05 16:04:27.884 test_hash_table]: Destroying mutex 0xfffffb3dc540 [17/05 16:04:27.884 test_hash_table]: test_hash_table() OK Tests completed successfully make[1]: Leaving directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.78/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.2.78-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.2.78-r0.apk >>> minisatip*: Tracing dependencies... /bin/sh so:libc.musl-aarch64.so.1 so:libcrypto.so.3 so:libdvbcsa.so.1 >>> minisatip*: Package size: 756.0 KB >>> minisatip*: Compressing data... >>> minisatip*: Create checksum... >>> minisatip*: Create minisatip-1.2.78-r0.apk >>> minisatip: Build complete at Wed, 17 May 2023 16:04:28 +0000 elapsed time 0h 1m 28s >>> minisatip: Cleaning up srcdir >>> minisatip: Cleaning up pkgdir >>> minisatip: Uninstalling dependencies... (1/5) Purging .makedepends-minisatip (20230517.160301) (2/5) Purging linux-headers (6.3-r0) (3/5) Purging openssl-dev (3.1.0-r5) (4/5) Purging libdvbcsa-dev (1.1.0-r1) (5/5) Purging libdvbcsa (1.1.0-r1) OK: 375 MiB in 100 packages >>> minisatip: Updating the testing/aarch64 repository index... >>> minisatip: Signing the index...