>>> minisatip: Building testing/minisatip 1.2.65-r0 (using abuild 3.10.0-r0) started Sat, 11 Feb 2023 22:35:28 +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.1.11-r0) (2/5) Installing openssl-dev (3.0.8-r0) (3/5) Installing libdvbcsa (1.1.0-r1) (4/5) Installing libdvbcsa-dev (1.1.0-r1) (5/5) Installing .makedepends-minisatip (20230211.223529) OK: 416 MiB in 101 packages >>> minisatip: Cleaning up srcdir >>> minisatip: Cleaning up pkgdir >>> minisatip: Fetching https://distfiles.alpinelinux.org/distfiles/edge/minisatip-1.2.65.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> minisatip: Fetching minisatip-1.2.65.tar.gz::https://github.com/catalinii/minisatip/archive/refs/tags/v1.2.65.tar.gz >>> minisatip: Fetching https://distfiles.alpinelinux.org/distfiles/edge/minisatip-1.2.65.tar.gz >>> minisatip: Checking sha512sums... minisatip-1.2.65.tar.gz: OK minisatip.initd: OK minisatip.confd: OK default_document_root.patch: OK >>> minisatip: Unpacking /var/cache/distfiles/edge/minisatip-1.2.65.tar.gz... >>> minisatip: default_document_root.patch patching file src/minisatip.c 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for main in -lrt... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... 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 sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... 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 for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... 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 linux/dvb/frontend.h usability... yes checking linux/dvb/frontend.h presence... yes checking for linux/dvb/frontend.h... yes configure: == Checking OpenSSL == checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes configure: == Checking Embedded == checking for backtrace... no configure: == Checking DVBCSA == checking dvbcsa/dvbcsa.h usability... yes checking dvbcsa/dvbcsa.h presence... yes checking for dvbcsa/dvbcsa.h... yes configure: == Checking NETCVCLIENT == checking netceiver.h usability... cat: can't open 'confdefs.h': No such file or directory no checking netceiver.h presence... cat: can't open 'confdefs.h': No such file or directory no checking for netceiver.h... 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 make -C src make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.65/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 -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c minisatip.c -o ../build/minisatip.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c socketworks.c -o ../build/socketworks.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c stream.c -o ../build/stream.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c adapter.c -o ../build/adapter.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c httpc.c -o ../build/httpc.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils.c -o ../build/utils.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c api/symbols.c -o ../build/api/symbols.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c api/variables.c -o ../build/api/variables.o gcc -Os -DNO_BACKTRACE -I../src -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 -DNO_BACKTRACE -I../src -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 -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/mutex.c -o ../build/utils/mutex.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c utils/ticks.c -o ../build/utils/ticks.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c csa.c -o ../build/csa.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c dvbapi.c -o ../build/dvbapi.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c ca.c -o ../build/ca.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c aes.c -o ../build/aes.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c pmt.c -o ../build/pmt.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c tables.c -o ../build/tables.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c satipc.c -o ../build/satipc.o gcc -Os -DNO_BACKTRACE -I../src -DMAJOR=\"1.2.\" -DMINOR=\"\" -DREVISION=\"\" -DDISABLE_NETCVCLIENT -DDISABLE_DDCI -DDISABLE_T2MI -DNO_BACKTRACE -c dvb.c -o ../build/dvb.o minisatip.c: In function 'usage': minisatip.c:306:9: warning: unknown conversion type character ']' in format [-Wformat=] 306 | "\n\t./%s [-[fgtzE]] [-a x:y:z] [-b X:Y] [-B X] [-H X:Y] [-d A:C-U ] [-D device_id] [-e X-Y,Z] [-i prio] \n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | \t[-[uj] A1:S1-F1[-PIN]] [-m mac] [-P port] [-l module1[,module2]] [-v module1[,module2]] \n\t" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minisatip.c:306:9: warning: unknown conversion type character '-' in format [-Wformat=] ca.c: In function 'generate_key_seed': ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | SHA256_Init(&sha); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from aes.h:7, from ca.h:4, from ca.c:28: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ca.c:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | SHA256_Update(&sha, &cc_data->dhsk[240], 16); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | SHA256_Update(&sha, element_get_ptr(cc_data, 20), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | SHA256_Update(&sha, element_get_ptr(cc_data, 21), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | AES_set_encrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ In file included from aes.h:3: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ca.c:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | AES_set_decrypt_key(key_data, 128, &key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ca.c:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | AES_cbc_encrypt(src, dst, len, &key, iv, encrypt); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ ca.c: In function 'generate_akh': ca.c:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | SHA256_Update(&sha, element_get_ptr(cc_data, 6), | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ca.c:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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); | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ ca.c: In function 'generate_uri_confirm': 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, | ^~~~~~~~~~~~~~~~~~~ ca.c:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | SHA256_Init(&sha); | ^~~~~~~~~~~ aes.c: In function 'dvbaes_decrypt_stream': /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~ ca.c:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | 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, | ^~~~~~~~~~~~~~~ aes.c: In function 'aes_xcbc_mac_init': aes.c:202:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | AES_set_encrypt_key(key, 128, &aes_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ aes.c:207:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | AES_ecb_encrypt(ctx->K[y], ctx->K[y], &aes_key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ aes.c:211:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | AES_set_encrypt_key(ctx->K[0], 128, &ctx->key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ aes.c: In function 'aes_xcbc_mac_process': aes.c:223:13: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ aes.c: In function 'aes_xcbc_mac_done': aes.c:247:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | AES_ecb_encrypt(ctx->IV, ctx->IV, &ctx->key, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ aes.c: In function 'dh_gen_exp': aes.c:395:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 void DH_set_flags(DH *dh, int flags); | ^~~~~~~~~~~~ aes.c:402:5: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | DH_generate_key(dh); | ^~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:223:27: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ aes.c:404:5: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | DH_get0_key(dh, NULL, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:256:28: note: declared here 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ aes.c:415:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 415 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ aes.c: In function 'dh_dhph_signature': aes.c:487:5: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_private_encrypt(sizeof(dbuf), dbuf, out, r, RSA_NO_PADDING); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ aes.c: In function 'rsa_privatekey_open': aes.c:517:5: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 517 | PEM_read_RSAPrivateKey(fp, &r, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ gcc -Os -DNO_BACKTRACE -I../src -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.65/src' make -C src make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.65/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.65/src' make -C tests test make[1]: Entering directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.65/tests' gcc -Os -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/csa.c ../src/satipc.c ../src/dvb.c ../src/ddci.c ../src/dvbapi.c ../src/utils/logging/logging.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/minisatip.c ../src/netceiver.c ../src/httpc.c ../src/aes.c ../src/api/symbols.c ../src/api/variables.c ../src/stream.c ../src/tables.c ../src/t2mi.c ../src/socketworks.c ../src/utils.c ../src/pmt.c ../src/axe.c ../src/adapter.c ../src/ca.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/minisatip.c: In function 'usage': ../src/minisatip.c:306:9: warning: unknown conversion type character ']' in format [-Wformat=] 306 | "\n\t./%s [-[fgtzE]] [-a x:y:z] [-b X:Y] [-B X] [-H X:Y] [-d A:C-U ] [-D device_id] [-e X-Y,Z] [-i prio] \n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | \t[-[uj] A1:S1-F1[-PIN]] [-m mac] [-P port] [-l module1[,module2]] [-v module1[,module2]] \n\t" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/minisatip.c:306:9: warning: unknown conversion type character '-' in format [-Wformat=] ../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:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:285:5: note: declared here 285 | 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:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | 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:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | 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:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | 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:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | 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:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | 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:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | 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:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | 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:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | 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:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_ca [11/02 22:35:47.800 test_ca]: CAID string: [11/02 22:35:47.800 test_ca]: CAID string: 0B00 [11/02 22:35:47.800 test_ca]: CAID string: 0B00, 0B01, 0B02 [11/02 22:35:47.800 test_ca]: test_get_ca_caids_string() OK [11/02 22:35:47.800 test_ca]: Mutex init OK 0xfff379adc048 [11/02 22:35:47.800 test_ca]: returning new pmt 0 for adapter 0, pmt pid 100 sid 100 0064 [11/02 22:35:47.800 test_ca]: Mutex init OK 0xfff379ad7058 [11/02 22:35:47.800 test_ca]: returning new pmt 1 for adapter 0, pmt pid 200 sid 200 00C8 [11/02 22:35:47.800 test_ca]: Mutex init OK 0xfff379691068 [11/02 22:35:47.800 test_ca]: returning new pmt 2 for adapter 0, pmt pid 300 sid 300 012C [11/02 22:35:47.800 test_ca]: Mutex init OK 0xfff37968c078 [11/02 22:35:47.800 test_ca]: returning new pmt 3 for adapter 0, pmt pid 400 sid 400 0190 [11/02 22:35:47.800 test_ca]: CA 0 all channels used 1, multiple allowed 0 [11/02 22:35:47.800 test_ca]: CAPMT 0 pmts 1 -1 [11/02 22:35:47.800 test_ca]: test_multiple_pmt() OK [11/02 22:35:47.800 test_ca]: Mutex init OK 0xfff379687088 [11/02 22:35:47.800 test_ca]: returning new pmt 5 for adapter 0, pmt pid 500 sid 500 01F4 [11/02 22:35:47.800 test_ca]: Mutex init OK 0xfff3796810a8 [11/02 22:35:47.800 test_ca]: returning new pmt 6 for adapter 0, pmt pid 600 sid 600 0258 [11/02 22:35:47.800 test_ca]: CAPMT: : 0000 01 ff ff 03 00 00 03 01 f6 00 01 00 00 00 00 01 ................ 0010 03 02 5a 00 01 00 00 00 00 01 ..Z....... [11/02 22:35:47.800 test_ca]: test_create_capmt() OK [11/02 22:35:47.800 test_ca]: Expected file name: /tmp/ci_auth_Conax_CSP_CIPLUS_CAM_4.bin [11/02 22:35:47.800 test_ca]: File name: /tmp/ci_auth_Conax_CSP_CIPLUS_CAM_4.bin [11/02 22:35:47.800 test_ca]: test_get_authdata_filename() OK gcc -Os -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/csa.c ../src/satipc.c ../src/dvb.c ../src/ddci.c ../src/dvbapi.c ../src/utils/logging/logging.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/minisatip.c ../src/netceiver.c ../src/httpc.c ../src/aes.c ../src/api/symbols.c ../src/api/variables.c ../src/stream.c ../src/tables.c ../src/t2mi.c ../src/socketworks.c ../src/utils.c ../src/pmt.c ../src/axe.c ../src/adapter.c ../src/ca.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/minisatip.c: In function 'usage': ../src/minisatip.c:306:9: warning: unknown conversion type character ']' in format [-Wformat=] 306 | "\n\t./%s [-[fgtzE]] [-a x:y:z] [-b X:Y] [-B X] [-H X:Y] [-d A:C-U ] [-D device_id] [-e X-Y,Z] [-i prio] \n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | \t[-[uj] A1:S1-F1[-PIN]] [-m mac] [-P port] [-l module1[,module2]] [-v module1[,module2]] \n\t" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/minisatip.c:306:9: warning: unknown conversion type character '-' in format [-Wformat=] ../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:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:285:5: note: declared here 285 | 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:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | 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:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | 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:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | 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:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | 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:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | 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:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | 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:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | 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:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | 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:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_pmt [11/02 22:35:58.509 test_pmt]: wait_pusi: found pid 255 with parity change without start indicator [11/02 22:35:58.509 test_pmt]: test_wait_pusi() OK [11/02 22:35:58.509 test_pmt]: Mutex init OK 0xfff5c8861078 [11/02 22:35:58.509 test_pmt]: Allocation batch with size 17600 at 0xfff5c83eb080 [11/02 22:35:58.509 test_pmt]: returning new pmt 0 for adapter 0, pmt pid 100 sid 100 0064 [11/02 22:35:58.509 test_pmt]: ../src/pmt.c:960 Unlock disabled mutex 0xaab3e9523940 [11/02 22:35:58.509 test_pmt]: CW 0 for PMT 0 (), master 0, pid 100, id 0, parity 0, pmt 0, time 0 ms ago, expiry in 25000 ms, CW: 00 11 22 33 44 55 66 77 [11/02 22:35:58.509 test_pmt]: ../src/pmt.c:960 Unlock disabled mutex 0xaab3e9523940 [11/02 22:35:58.509 test_pmt]: CW 1 for PMT 0 (), master 0, pid 100, id 1, parity 0, pmt 0, time 0 ms ago, expiry in 25000 ms, CW: 64 BB 0E 2D 98 AD 8C D1 [11/02 22:35:58.509 test_pmt]: ../src/pmt.c:960 Unlock disabled mutex 0xaab3e9523940 [11/02 22:35:58.509 test_pmt]: CW 2 for PMT 0 (), master 0, pid 100, id 2, parity 1, pmt 0, time 0 ms ago, expiry in 25000 ms, CW: 77 C1 1F 57 96 FB C3 54 [11/02 22:35:58.509 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 [11/02 22:35:58.509 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 [11/02 22:35:58.510 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..... [11/02 22:35:58.510 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. [11/02 22:35:58.510 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 [11/02 22:35:58.510 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 [11/02 22:35:58.510 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. [11/02 22:35:58.511 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 [11/02 22:35:58.511 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 [11/02 22:35:58.514 test_pmt]: pmt: decrypted pmt 0, packets 1000, CW 1, old CW -1, parity 0 at len 1000, channel_id 100 (pid 255) [11/02 22:35:58.514 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> [11/02 22:35:58.514 test_pmt]: test_decrypt() OK [11/02 22:35:58.514 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..|.... [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 0 -> 12 : 1B EB FF F0 03 [11/02 22:35:58.514 test_pmt]: desc copy 3 bytes from 5 -> 17 : 52 01 02 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 3 at position 15 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 8 -> 20 : 03 EC 00 F0 09 [11/02 22:35:58.514 test_pmt]: desc copy 6 bytes from 13 -> 25 : 0A 04 64 [11/02 22:35:58.514 test_pmt]: desc copy 3 bytes from 19 -> 31 : 52 01 03 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 9 at position 23 [11/02 22:35:58.514 test_pmt]: new len is 35, old len is 59 [11/02 22:35:58.514 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. [11/02 22:35:58.514 test_pmt]: test_clean_psi_buffer_only() OK [11/02 22:35:58.514 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 .. [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 0 -> 12 : 1B E0 A1 F0 09 [11/02 22:35:58.514 test_pmt]: desc copy 3 bytes from 5 -> 17 : 52 01 A1 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 3 at position 15 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 14 -> 20 : 06 E0 56 F0 13 [11/02 22:35:58.514 test_pmt]: desc copy 3 bytes from 19 -> 25 : 52 01 56 [11/02 22:35:58.514 test_pmt]: desc copy 6 bytes from 22 -> 28 : 0A 04 73 [11/02 22:35:58.514 test_pmt]: desc copy 4 bytes from 34 -> 34 : 6A 02 80 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 13 at position 23 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 38 -> 38 : 06 E0 57 F0 13 [11/02 22:35:58.514 test_pmt]: desc copy 3 bytes from 43 -> 43 : 52 01 57 [11/02 22:35:58.514 test_pmt]: desc copy 6 bytes from 46 -> 46 : 0A 04 71 [11/02 22:35:58.514 test_pmt]: desc copy 4 bytes from 58 -> 52 : 6A 02 80 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 13 at position 41 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 62 -> 56 : 06 E0 23 F0 0D [11/02 22:35:58.514 test_pmt]: desc copy 3 bytes from 67 -> 61 : 52 01 23 [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 70 -> 64 : 59 08 73 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 13 at position 59 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 80 -> 74 : 06 E0 24 F0 0D [11/02 22:35:58.514 test_pmt]: desc copy 3 bytes from 85 -> 79 : 52 01 24 [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 88 -> 82 : 59 08 65 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 13 at position 77 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 98 -> 92 : 06 E0 25 F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 103 -> 97 : 59 08 65 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 95 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 113 -> 107 : 06 E0 26 F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 118 -> 112 : 59 08 63 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 110 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 128 -> 122 : 06 E0 27 F0 0D [11/02 22:35:58.514 test_pmt]: desc copy 3 bytes from 133 -> 127 : 52 01 27 [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 136 -> 130 : 59 08 65 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 13 at position 125 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 146 -> 140 : C0 E0 D0 F0 41 [11/02 22:35:58.514 test_pmt]: desc copy 7 bytes from 151 -> 145 : C6 05 01 [11/02 22:35:58.514 test_pmt]: desc copy 58 bytes from 158 -> 152 : C2 38 43 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 65 at position 143 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 216 -> 210 : C0 E1 35 F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 221 -> 215 : C2 08 4C [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 213 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 231 -> 225 : C1 E0 FD F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 236 -> 230 : C2 08 44 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 228 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 246 -> 240 : C1 E1 33 F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 251 -> 245 : C2 08 4C [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 243 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 261 -> 255 : C1 E1 64 F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 266 -> 260 : C2 08 4C [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 258 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 276 -> 270 : C1 E1 88 F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 281 -> 275 : C2 08 50 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 273 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 291 -> 285 : C1 E2 6A F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 296 -> 290 : C2 08 47 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 288 [11/02 22:35:58.514 test_pmt]: es: copy 5 bytes from 306 -> 300 : C1 E3 78 F0 0A [11/02 22:35:58.514 test_pmt]: desc copy 10 bytes from 311 -> 305 : C2 08 41 [11/02 22:35:58.514 test_pmt]: clean_psi: setting the new es_len 10 at position 303 [11/02 22:35:58.514 test_pmt]: new len is 316, old len is 334 [11/02 22:35:58.514 test_pmt]: CLEAN: : 0000 00 02 b1 3c 78 57 fd 00 00 e0 a1 f0 00 1b e0 a1 ...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:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:285:5: note: declared here 285 | 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:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | 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:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | 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:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | 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:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | 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:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | 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:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | 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:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | 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:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | 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:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_ddci [11/02 22:36:09.247 test_ddci]: Mutex init OK 0xfffff9881040 [11/02 22:36:09.247 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9881040 [11/02 22:36:09.247 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfffcf4118880 [11/02 22:36:09.247 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9881040 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xfffff9881040 [11/02 22:36:09.248 test_ddci]: Destroying mutex 0xfffff9881040 [11/02 22:36:09.248 test_ddci]: Mutex init OK 0xfffff9881040 [11/02 22:36:09.248 test_ddci]: Adding channel 200: DDCIs: 0 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9881040 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfffcf449e9c0 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9881040 [11/02 22:36:09.248 test_ddci]: Loaded 1 channels from /tmp/ddci.conf [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xfffff9881040 [11/02 22:36:09.248 test_ddci]: Destroying mutex 0xfffff9881040 [11/02 22:36:09.248 test_ddci]: test_channels() OK [11/02 22:36:09.248 test_ddci]: Mutex init OK 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: Mutex init OK 0xfffff9866958 [11/02 22:36:09.248 test_ddci]: Mutex init OK 0xaab69eb86e80 [11/02 22:36:09.248 test_ddci]: ../src/tables.c:90 Mutex not enabled 0xaab69eb8b950 [11/02 22:36:09.248 test_ddci]: ../src/tables.c:118 Unlock disabled mutex 0xaab69eb8b950 [11/02 22:36:09.248 test_ddci]: ../src/tables.c:64 Mutex not enabled 0xaab69eb8b950 [11/02 22:36:09.248 test_ddci]: CA 0 is disabled for adapter 0 [11/02 22:36:09.248 test_ddci]: CA 0 is disabled for adapter 1 [11/02 22:36:09.248 test_ddci]: CA 0 is disabled for adapter 8 [11/02 22:36:09.248 test_ddci]: ../src/tables.c:83 Unlock disabled mutex 0xaab69eb8b950 [11/02 22:36:09.248 test_ddci]: Mutex init OK 0xaab69eba04b8 [11/02 22:36:09.248 test_ddci]: ../src/utils.c:575 Locking mutex 0xaab69eba04b8 [11/02 22:36:09.248 test_ddci]: ../src/utils.c:579 allocation_wrapper malloc allocated 368 bytes at 0xfffcf454e040 [11/02 22:36:09.248 test_ddci]: Mutex init OK 0xfffcf454e048 [11/02 22:36:09.248 test_ddci]: ../src/utils.c:589 Locking mutex 0xfffcf454e048 [11/02 22:36:09.248 test_ddci]: ../src/utils.c:591 Unlocking mutex 0xaab69eba04b8 [11/02 22:36:09.248 test_ddci]: sockets_add: handle -2 (type 0) returning socket sock 0 [:0] read: 0xaab69eb251f8 [11/02 22:36:09.248 test_ddci]: ../src/socketworks.c:590 Unlocking mutex 0xfffcf454e048 [11/02 22:36:09.248 test_ddci]: set_socket_thread: thread fffcf40fa770 for sockets 0 [11/02 22:36:09.248 test_ddci]: CA 0 can handle CAID 0100 mask FFFF on adapter 0 at position 0 [11/02 22:36:09.248 test_ddci]: CA 0 can handle CAID 0500 mask FFFF on adapter 1 at position 0 [11/02 22:36:09.248 CA_poll]: Starting select_and_execute on thread ID fffcf40fa770, thread_name CA_poll [11/02 22:36:09.248 test_ddci]: ddci_process_pmt: adapter 8, pmt 3, pid 3000, sid 400, ddid -1, name: [11/02 22:36:09.248 test_ddci]: DDCI not ready or busy at the moment: retry [11/02 22:36:09.248 test_ddci]: ddci_process_pmt: adapter 8, pmt 3, pid 3000, sid 400, ddid -1, name: [11/02 22:36:09.248 test_ddci]: no suitable DDCI found [11/02 22:36:09.248 test_ddci]: ddci_process_pmt: adapter 8, pmt 0, pid 0, sid 100, ddid -1, name: [11/02 22:36:09.248 test_ddci]: match_caid: match caid 0100 (0/2) with CA caid 0100 and mask FFFF [11/02 22:36:09.248 test_ddci]: DDCI 0 CAID 0100 and mask FFFF matched PMT 0 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xaab69eb86e80 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfffcf454e240 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xaab69eb86e80 [11/02 22:36:09.248 test_ddci]: ../src/ddci.c:394 Mutex not enabled 0xfffff9866400 [11/02 22:36:09.248 test_ddci]: Mapping CAT to PMT 0 from transponder 0, DDCI transponder 0 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e440 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: Mutex init OK 0xaab69eba31d8 [11/02 22:36:09.248 test_ddci]: ../src/utils.c:575 Locking mutex 0xaab69eba31d8 [11/02 22:36:09.248 test_ddci]: ../src/utils.c:579 allocation_wrapper malloc allocated 4192 bytes at 0xfffcf4546030 [11/02 22:36:09.248 test_ddci]: Mutex init OK 0xfffcf4546038 [11/02 22:36:09.248 test_ddci]: ../src/utils.c:589 Locking mutex 0xfffcf4546038 [11/02 22:36:09.248 test_ddci]: ../src/utils.c:591 Unlocking mutex 0xaab69eba31d8 [11/02 22:36:09.248 test_ddci]: ../src/pmt.c:327 Locking mutex 0xaab69eba31d8 [11/02 22:36:09.248 test_ddci]: ../src/pmt.c:354 Unlocking mutex 0xaab69eba31d8 [11/02 22:36:09.248 test_ddci]: ../src/pmt.c:355 Unlocking mutex 0xfffcf4546038 [11/02 22:36:09.248 test_ddci]: new filter 0 added for adapter 8, pid 1, flags 16, mask_len 0, master_filter 0 [11/02 22:36:09.248 test_ddci]: mapped adapter 8 (8) pid 1 (1) to 1, pmt 0 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e490 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: mapped adapter 8 (8) pid 17 (17) to 17, pmt 0 [11/02 22:36:09.248 test_ddci]: found DDCI 0 for pmt 0, running channels 1, max_channels 1 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e4f0 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: mapped adapter 8 (8) pid 0 (0) to 0, pmt 0 [11/02 22:36:09.248 test_ddci]: DD 0 adding ECM pid 256 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e550 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 0 [11/02 22:36:09.248 test_ddci]: DD 0 adding ECM pid 6144 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e5b0 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: mapped adapter 8 (8) pid 6144 (6144) to 6144, pmt 0 [11/02 22:36:09.248 test_ddci]: DD 0 adding stream pid 101 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e620 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: mapped adapter 8 (8) pid 101 (101) to 101, pmt 0 [11/02 22:36:09.248 test_ddci]: DD 0 adding stream pid 102 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e680 [11/02 22:36:09.248 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.248 test_ddci]: mapped adapter 8 (8) pid 102 (102) to 102, pmt 0 [11/02 22:36:09.248 test_ddci]: found filter 0 for pid 1, master 0 (1) [11/02 22:36:09.248 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 test_ddci]: Dumping pids table for adapter 0, number of unknown pids: 0 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 test_ddci]: Mapping Table for all devices [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 17, adapter 8 pid 17, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: ../src/ddci.c:462 Unlock disabled mutex 0xfffff9866400 [11/02 22:36:09.249 test_ddci]: ddci_process_pmt: adapter 8, pmt 1, pid 1000, sid 200, ddid -1, name: [11/02 22:36:09.249 test_ddci]: match_caid: match caid 0100 (0/2) with CA caid 0100 and mask FFFF [11/02 22:36:09.249 test_ddci]: DDCI 0 CAID 0100 and mask FFFF matched PMT 1 [11/02 22:36:09.249 test_ddci]: match_caid: match caid 0500 (1/2) with CA caid 0500 and mask FFFF [11/02 22:36:09.249 test_ddci]: DDCI 1 CAID 0500 and mask FFFF matched PMT 1 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xaab69eb86e80 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfffcf454e2d0 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xaab69eb86e80 [11/02 22:36:09.249 test_ddci]: DDCI 0 cannot be used for PMT 1, pid 1000 (used channels 1 max 1) [11/02 22:36:09.249 test_ddci]: ../src/ddci.c:394 Mutex not enabled 0xfffff98666d8 [11/02 22:36:09.249 test_ddci]: Mapping CAT to PMT 1 from transponder 0, DDCI transponder 0 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e6e0 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: found already existing pid 1 flags 1 [11/02 22:36:09.249 test_ddci]: ../src/utils.c:575 Locking mutex 0xaab69eba31d8 [11/02 22:36:09.249 test_ddci]: ../src/utils.c:579 allocation_wrapper malloc allocated 4192 bytes at 0xfffcf4547570 [11/02 22:36:09.249 test_ddci]: Mutex init OK 0xfffcf4547578 [11/02 22:36:09.249 test_ddci]: ../src/utils.c:589 Locking mutex 0xfffcf4547578 [11/02 22:36:09.249 test_ddci]: ../src/utils.c:591 Unlocking mutex 0xaab69eba31d8 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:327 Locking mutex 0xaab69eba31d8 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:354 Unlocking mutex 0xaab69eba31d8 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:355 Unlocking mutex 0xfffcf4547578 [11/02 22:36:09.249 test_ddci]: new filter 1 added for adapter 8, pid 1, flags 16, mask_len 0, master_filter 0 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 1 (1) to 1, pmt 1 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e740 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: found already existing pid 17 flags 1 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 17 (17) to 17, pmt 1 [11/02 22:36:09.249 test_ddci]: found DDCI 1 for pmt 1, running channels 1, max_channels 1 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e7a0 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 1000 (1000) to 1000, pmt 1 [11/02 22:36:09.249 test_ddci]: DD 1 adding ECM pid 256 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e1c0 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: found already existing pid 256 flags 1 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 1 [11/02 22:36:09.249 test_ddci]: DD 1 adding ECM pid 1280 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e210 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 1280 (1280) to 1280, pmt 1 [11/02 22:36:09.249 test_ddci]: DD 1 adding stream pid 201 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e260 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 201 (201) to 201, pmt 1 [11/02 22:36:09.249 test_ddci]: DD 1 adding stream pid 202 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e2b0 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 202 (202) to 202, pmt 1 [11/02 22:36:09.249 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 test_ddci]: Dumping pids table for adapter 1, number of unknown pids: 0 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 test_ddci]: Mapping Table for all devices [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 17, adapter 8 pid 17, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 1000, adapter 8 pid 1000, rewrite 0: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 202, adapter 8 pid 202, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 201, adapter 8 pid 201, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 17, adapter 8 pid 17, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 1, adapter 8 pid 1, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: ../src/ddci.c:462 Unlock disabled mutex 0xfffff98666d8 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xaab69eb86e80 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 138 bytes at 0xfffcf454e370 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xaab69eb86e80 [11/02 22:36:09.249 test_ddci]: ddci_process_pmt: adapter 8, pmt 2, pid 2000, sid 300, ddid -1, name: [11/02 22:36:09.249 test_ddci]: ../src/ddci.c:394 Mutex not enabled 0xfffff98666d8 [11/02 22:36:09.249 test_ddci]: found DDCI 1 for pmt 2, running channels 2, max_channels 2 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e300 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 2000 (2000) to 2000, pmt 2 [11/02 22:36:09.249 test_ddci]: DD 1 adding ECM pid 1280 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 1280 (1280) to 1280, pmt 2 [11/02 22:36:09.249 test_ddci]: DD 1 adding ECM pid 256 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 256 (256) to 256, pmt 2 [11/02 22:36:09.249 test_ddci]: DD 1 adding ECM pid 254 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e350 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 254 (254) to 254, pmt 2 [11/02 22:36:09.249 test_ddci]: DD 1 adding stream pid 301 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e3b0 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 301 (301) to 301, pmt 2 [11/02 22:36:09.249 test_ddci]: DD 1 adding stream pid 302 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e400 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 302 (302) to 302, pmt 2 [11/02 22:36:09.249 test_ddci]: DD 1 adding stream pid 255 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf449e450 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: mapped adapter 8 (8) pid 255 (255) to 255, pmt 2 [11/02 22:36:09.249 test_ddci]: Dumping pids table for adapter 8, number of unknown pids: 0 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 test_ddci]: Dumping pids table for adapter 1, number of unknown pids: 0 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 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 [11/02 22:36:09.249 test_ddci]: Mapping Table for all devices [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 17, adapter 8 pid 17, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 1000, adapter 8 pid 1000, rewrite 0: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 202, adapter 8 pid 202, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: 1 2 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 201, adapter 8 pid 201, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: 1 2 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 17, adapter 8 pid 17, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 1, adapter 8 pid 1, rewrite 1: 1 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: ../src/ddci.c:462 Unlock disabled mutex 0xfffff98666d8 [11/02 22:36:09.249 test_ddci]: ddci_del_pmt: deleting pmt id 1, sid 200 (C8), pid 1000, ddci 1, name [11/02 22:36:09.249 test_ddci]: del_pmt_mapping_table: ad 8 pid 302 ddci_pid 302, pid also associated with pmt 2 [11/02 22:36:09.249 test_ddci]: del_pmt_mapping_table: ad 8 pid 254 ddci_pid 254, pid also associated with pmt 2 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 1 pid 1000 ddci_pid 1000 [11/02 22:36:09.249 test_ddci]: del_pmt_mapping_table: ad 8 pid 255 ddci_pid 255, pid also associated with pmt 2 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 1 pid 202 ddci_pid 202 [11/02 22:36:09.249 test_ddci]: del_pmt_mapping_table: ad 8 pid 256 ddci_pid 256, pid also associated with pmt 2 [11/02 22:36:09.249 test_ddci]: del_pmt_mapping_table: ad 8 pid 301 ddci_pid 301, pid also associated with pmt 2 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 1 pid 201 ddci_pid 201 [11/02 22:36:09.249 test_ddci]: del_pmt_mapping_table: ad 8 pid 1280 ddci_pid 1280, pid also associated with pmt 2 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 1 pid 17 ddci_pid 17 [11/02 22:36:09.249 test_ddci]: Marking pid 17 deleted on adapter 1 (initial ad 8 pid 17) [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 1 pid 1 ddci_pid 1 [11/02 22:36:09.249 test_ddci]: deleting filter 1 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:388 Locking mutex 0xfffcf4547578 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:393 Locking mutex 0xaab69eba31d8 [11/02 22:36:09.249 test_ddci]: Found 0 filters for adapter 8 pid 1 master 0 with flags 5 [11/02 22:36:09.249 test_ddci]: pid not found or pid in use by sid 257 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:433 Unlocking mutex 0xaab69eba31d8 [11/02 22:36:09.249 test_ddci]: Destroying mutex 0xfffcf4547578 [11/02 22:36:09.249 test_ddci]: deleted filter 1, ad 8, pid 1, max filters 2 [11/02 22:36:09.249 test_ddci]: Marking pid 1 deleted on adapter 1 (initial ad 8 pid 1) [11/02 22:36:09.249 test_ddci]: del_pmt_mapping_table: ad 8 pid 2000 ddci_pid 2000, pid also associated with pmt 2 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.249 test_ddci]: Mapping Table for all devices [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 102, adapter 8 pid 102, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 256, adapter 8 pid 256, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 6144, adapter 8 pid 6144, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 0, adapter 8 pid 0, rewrite 0: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 17, adapter 8 pid 17, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 1, adapter 8 pid 1, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 0, ddpid 101, adapter 8 pid 101, rewrite 1: 0 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: -1 2 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: -1 2 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: ddci_del_pmt: deleting pmt id 0, sid 100 (64), pid 0, ddci 0, name [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 0 pid 102 ddci_pid 102 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 0 pid 256 ddci_pid 256 [11/02 22:36:09.249 test_ddci]: Marking pid 256 deleted on adapter 0 (initial ad 8 pid 256) [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 0 pid 6144 ddci_pid 6144 [11/02 22:36:09.249 test_ddci]: Marking pid 6144 deleted on adapter 0 (initial ad 8 pid 6144) [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 0 pid 0 ddci_pid 0 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 0 pid 17 ddci_pid 17 [11/02 22:36:09.249 test_ddci]: Marking pid 17 deleted on adapter 0 (initial ad 8 pid 17) [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 0 pid 1 ddci_pid 1 [11/02 22:36:09.249 test_ddci]: deleting filter 0 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:388 Locking mutex 0xfffcf4546038 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:393 Locking mutex 0xaab69eba31d8 [11/02 22:36:09.249 test_ddci]: Found 0 filters for adapter 8 pid 1 master 0 with flags 5 [11/02 22:36:09.249 test_ddci]: pid not found or pid in use by sid 0 [11/02 22:36:09.249 test_ddci]: ../src/pmt.c:433 Unlocking mutex 0xaab69eba31d8 [11/02 22:36:09.249 test_ddci]: Destroying mutex 0xfffcf4546038 [11/02 22:36:09.249 test_ddci]: deleted filter 0, ad 8, pid 1, max filters 1 [11/02 22:36:09.249 test_ddci]: Marking pid 1 deleted on adapter 0 (initial ad 8 pid 1) [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 0 pid 101 ddci_pid 101 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866680 [11/02 22:36:09.249 test_ddci]: Mapping Table for all devices [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 302, adapter 8 pid 302, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 254, adapter 8 pid 254, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 255, adapter 8 pid 255, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 256, adapter 8 pid 256, rewrite 1: -1 2 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 301, adapter 8 pid 301, rewrite 1: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 1280, adapter 8 pid 1280, rewrite 1: -1 2 -1 -1 [11/02 22:36:09.249 test_ddci]: DD 1, ddpid 2000, adapter 8 pid 2000, rewrite 0: 2 -1 -1 -1 [11/02 22:36:09.249 test_ddci]: ddci_del_pmt: deleting pmt id 2, sid 300 (12C), pid 2000, ddci 1, name [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 2 pid 302 ddci_pid 302 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 2 pid 254 ddci_pid 254 [11/02 22:36:09.249 test_ddci]: Marking pid 254 deleted on adapter 1 (initial ad 8 pid 254) [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 2 pid 255 ddci_pid 255 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 2 pid 256 ddci_pid 256 [11/02 22:36:09.249 test_ddci]: Marking pid 256 deleted on adapter 1 (initial ad 8 pid 256) [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 2 pid 301 ddci_pid 301 [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 2 pid 1280 ddci_pid 1280 [11/02 22:36:09.249 test_ddci]: Marking pid 1280 deleted on adapter 1 (initial ad 8 pid 1280) [11/02 22:36:09.249 test_ddci]: Deleting ad 8 pmt 2 pid 2000 ddci_pid 2000 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:211 Locking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:236 Unlocking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: Mapping Table for all devices [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xfffff9866680 [11/02 22:36:09.250 test_ddci]: Destroying mutex 0xfffff9866680 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: Destroying mutex 0xfffff9866958 [11/02 22:36:09.250 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xaab69eb86e80 [11/02 22:36:09.250 test_ddci]: Destroying mutex 0xaab69eb86e80 [11/02 22:36:09.250 test_ddci]: destroy disabled mutex 0xfffcf4546038 [11/02 22:36:09.250 test_ddci]: destroy disabled mutex 0xfffcf4547578 [11/02 22:36:09.250 test_ddci]: test_add_del_pmt() OK [11/02 22:36:09.252 test_ddci]: test_ddci.c:243 allocation_wrapper malloc allocated 18800010 bytes at 0xfffcf2eea040 [11/02 22:36:09.252 test_ddci]: DDCI 0, dropping packets for adapter 0 Message repeated 1 times [11/02 22:36:09.252 test_ddci]: test_ddci.c:261 allocation_wrapper free called with argument 0xfffcf2eea040 [11/02 22:36:09.252 test_ddci]: test_push_ts_to_ddci() OK [11/02 22:36:09.254 test_ddci]: test_ddci.c:275 allocation_wrapper malloc allocated 18800010 bytes at 0xfffcf2eea050 [11/02 22:36:09.254 test_ddci]: Mutex init OK 0xfffff987e098 [11/02 22:36:09.254 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff987e098 [11/02 22:36:09.254 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e230 [11/02 22:36:09.254 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff987e098 [11/02 22:36:09.254 test_ddci]: ../src/adapter.c:1140: get_adapter returns NULL for adapter_id 0 [11/02 22:36:09.254 test_ddci]: mapped adapter 2 (2) pid 1000 (1000) to 1000, pmt 9 [11/02 22:36:09.254 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff987e098 [11/02 22:36:09.254 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e290 [11/02 22:36:09.254 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff987e098 [11/02 22:36:09.254 test_ddci]: ../src/adapter.c:1140: get_adapter returns NULL for adapter_id 0 [11/02 22:36:09.254 test_ddci]: mapped adapter 1 (1) pid 1000 (1000) to 1001, pmt 0 [11/02 22:36:09.254 test_ddci]: Could not push more data for adapter 1, rlen 1880, lbuf 1880, new pos -1 [11/02 22:36:09.254 test_ddci]: test_ddci.c:315 allocation_wrapper free called with argument 0xfffcf2eea050 [11/02 22:36:09.254 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xfffff987e098 [11/02 22:36:09.254 test_ddci]: Destroying mutex 0xfffff987e098 [11/02 22:36:09.255 test_ddci]: test_copy_ts_from_ddci() OK [11/02 22:36:09.257 test_ddci]: test_ddci.c:352 allocation_wrapper malloc allocated 18800010 bytes at 0xfffcf2eea060 [11/02 22:36:09.257 test_ddci]: Mutex init OK 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: Mutex init OK 0xfffff987e570 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e240 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: mapped adapter 5 (5) pid 1000 (1000) to 1000, pmt 0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e2a0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: mapped adapter 5 (5) pid 2000 (2000) to 2000, pmt 0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e300 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: mapped adapter 1 (1) pid 1000 (1000) to 1001, pmt 0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e360 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: mapped adapter 1 (1) pid 2000 (2000) to 2001, pmt 0 [11/02 22:36:09.257 test_ddci]: ../src/ddci.c:837 Locking mutex 0xfffff987e570 [11/02 22:36:09.257 test_ddci]: writing 188 bytes to DDCI device 0, fd 0, sock 0 [11/02 22:36:09.257 test_ddci]: called writev with len 1, first pid 1001 [11/02 22:36:09.257 test_ddci]: ddci_process_ts ad 1 ro 18799812, wo 376 max 18800000 [11/02 22:36:09.257 test_ddci]: Could not push more data for adapter 1, rlen 1880, lbuf 1880, new pos -1 [11/02 22:36:09.257 test_ddci]: adapter 1 buffer full, DD 0, ro 0, wo 376 [11/02 22:36:09.257 test_ddci]: ../src/ddci.c:945 Unlocking mutex 0xfffff987e570 [11/02 22:36:09.257 test_ddci]: test_ddci.c:401 allocation_wrapper free called with argument 0xfffcf2eea060 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: Destroying mutex 0xfffff987e7f0 [11/02 22:36:09.257 test_ddci]: test_ddci_process_ts() OK [11/02 22:36:09.257 test_ddci]: Mutex init OK 0xfffff98796b8 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff98796b8 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e230 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff98796b8 [11/02 22:36:09.257 test_ddci]: mapped adapter 9 (9) pid 4096 (4096) to 4096, pmt 0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff98796b8 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e290 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff98796b8 [11/02 22:36:09.257 test_ddci]: mapped adapter 0 (0) pid 4096 (4096) to 4097, pmt 0 [11/02 22:36:09.257 test_ddci]: ddci_create_pat: transponder 0 version 0, len 17 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xfffff98796b8 [11/02 22:36:09.257 test_ddci]: Destroying mutex 0xfffff98796b8 [11/02 22:36:09.257 test_ddci]: test_create_pat() OK [11/02 22:36:09.257 test_ddci]: Mutex init OK 0xfffff9875008 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9875008 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e240 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9875008 [11/02 22:36:09.257 test_ddci]: ../src/adapter.c:1140: get_adapter returns NULL for adapter_id 0 [11/02 22:36:09.257 test_ddci]: mapped adapter 0 (0) pid 1023 (1023) to 1023, pmt 0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:136 Locking mutex 0xfffff9875008 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:124 allocation_wrapper malloc allocated 62 bytes at 0xfffcf454e2a0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:193 Unlocking mutex 0xfffff9875008 [11/02 22:36:09.257 test_ddci]: ../src/adapter.c:1140: get_adapter returns NULL for adapter_id 0 [11/02 22:36:09.257 test_ddci]: mapped adapter 0 (0) pid 7068 (7068) to 7068, pmt 0 [11/02 22:36:09.257 test_ddci]: ddci_create_pmt: PMT 1 AD 0, pid: 03FF (1023), ver 0, sid 0066 (102) channel: TEST CHANNEL HD [11/02 22:36:09.257 test_ddci]: ddci_create_pmt: pmt 1 added caid 0100, pid 1B9C [11/02 22:36:09.257 test_ddci]: ddci_create_pmt: pmt 1 added pid 03FF, type 1B [11/02 22:36:09.257 test_ddci]: ddci_create_pmt: pmt 1 added pid 0055, type 03 [11/02 22:36:09.257 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 ..".. [11/02 22:36:09.257 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 ............ [11/02 22:36:09.257 test_ddci]: ../src/pmt.c:2005 Mutex not enabled 0xfffff987c8f0 [11/02 22:36:09.257 test_ddci]: new PMT 0 AD 0, pid: 0099 (153), len 33, pi_len 8, ver 1, pcr 8191, sid 0066 (102) [11/02 22:36:09.257 test_ddci]: PMT 0 PI pos 1 caid 0100 => pid 1B9C (7068), index 0 [11/02 22:36:09.257 test_ddci]: get_master_pmt_for_pid: no pmt found for pid 1023 adapter 0 [11/02 22:36:09.257 test_ddci]: PMT pid 153 - stream pid 03FF (1023), type 27, es_len 2, pos 17, caids 1 [11/02 22:36:09.257 test_ddci]: get_master_pmt_for_pid: no pmt found for pid 85 adapter 0 [11/02 22:36:09.257 test_ddci]: PMT pid 153 - stream pid 0055 (85), type 3, es_len 0, pos 24, caids 1 [11/02 22:36:09.257 test_ddci]: Found 0 filters for adapter 0 pid 153 master 0 with flags 5 [11/02 22:36:09.257 test_ddci]: pid not found or pid in use by sid 0 [11/02 22:36:09.257 test_ddci]: ../src/pmt.c:2103 Unlock disabled mutex 0xfffff987c8f0 [11/02 22:36:09.257 test_ddci]: ../src/utils/hash_table.c:253 Locking mutex 0xfffff9875008 [11/02 22:36:09.257 test_ddci]: Destroying mutex 0xfffff9875008 [11/02 22:36:09.257 test_ddci]: test_create_pmt() OK gcc -Os -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/csa.c ../src/satipc.c ../src/dvb.c ../src/ddci.c ../src/dvbapi.c ../src/utils/logging/logging.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/minisatip.c ../src/netceiver.c ../src/httpc.c ../src/aes.c ../src/api/symbols.c ../src/api/variables.c ../src/stream.c ../src/tables.c ../src/t2mi.c ../src/socketworks.c ../src/utils.c ../src/pmt.c ../src/axe.c ../src/adapter.c ../src/ca.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/minisatip.c: In function 'usage': ../src/minisatip.c:306:9: warning: unknown conversion type character ']' in format [-Wformat=] 306 | "\n\t./%s [-[fgtzE]] [-a x:y:z] [-b X:Y] [-B X] [-H X:Y] [-d A:C-U ] [-D device_id] [-e X-Y,Z] [-i prio] \n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | \t[-[uj] A1:S1-F1[-PIN]] [-m mac] [-P port] [-l module1[,module2]] [-v module1[,module2]] \n\t" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/minisatip.c:306:9: warning: unknown conversion type character '-' in format [-Wformat=] ../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:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:285:5: note: declared here 285 | 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:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | 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:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | 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:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | 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:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | 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:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | 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:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | 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:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | 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:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | 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:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_dvb [11/02 22:36:19.676 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 [11/02 22:36:19.676 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 [11/02 22:36:19.677 test_dvb]: test_detect_dvb_parameters_general() OK [11/02 22:36:19.677 test_dvb]: detect_dvb_parameters (S)-> freq=11734 [11/02 22:36:19.677 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 [11/02 22:36:19.677 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.35 [11/02 22:36:19.677 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 [11/02 22:36:19.677 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.25 [11/02 22:36:19.677 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 [11/02 22:36:19.677 test_dvb]: detect_dvb_parameters (S)-> freq=11734&ro=0.20 [11/02 22:36:19.677 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 [11/02 22:36:19.677 test_dvb]: test_detect_dvb_parameters_roll_off() OK gcc -Os -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/csa.c ../src/satipc.c ../src/dvb.c ../src/ddci.c ../src/dvbapi.c ../src/utils/logging/logging.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/minisatip.c ../src/netceiver.c ../src/httpc.c ../src/aes.c ../src/api/symbols.c ../src/api/variables.c ../src/stream.c ../src/tables.c ../src/t2mi.c ../src/socketworks.c ../src/utils.c ../src/pmt.c ../src/axe.c ../src/adapter.c ../src/ca.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/minisatip.c: In function 'usage': ../src/minisatip.c:306:9: warning: unknown conversion type character ']' in format [-Wformat=] 306 | "\n\t./%s [-[fgtzE]] [-a x:y:z] [-b X:Y] [-B X] [-H X:Y] [-d A:C-U ] [-D device_id] [-e X-Y,Z] [-i prio] \n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | \t[-[uj] A1:S1-F1[-PIN]] [-m mac] [-P port] [-l module1[,module2]] [-v module1[,module2]] \n\t" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/minisatip.c:306:9: warning: unknown conversion type character '-' in format [-Wformat=] ../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:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:285:5: note: declared here 285 | 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:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | 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:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | 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:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | 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:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | 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:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | 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:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | 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:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | 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:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | 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:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_minisatip gcc -Os -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/csa.c ../src/satipc.c ../src/dvb.c ../src/ddci.c ../src/dvbapi.c ../src/utils/logging/logging.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/minisatip.c ../src/netceiver.c ../src/httpc.c ../src/aes.c ../src/api/symbols.c ../src/api/variables.c ../src/stream.c ../src/tables.c ../src/t2mi.c ../src/socketworks.c ../src/utils.c ../src/pmt.c ../src/axe.c ../src/adapter.c ../src/ca.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/minisatip.c: In function 'usage': ../src/minisatip.c:306:9: warning: unknown conversion type character ']' in format [-Wformat=] 306 | "\n\t./%s [-[fgtzE]] [-a x:y:z] [-b X:Y] [-B X] [-H X:Y] [-d A:C-U ] [-D device_id] [-e X-Y,Z] [-i prio] \n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | \t[-[uj] A1:S1-F1[-PIN]] [-m mac] [-P port] [-l module1[,module2]] [-v module1[,module2]] \n\t" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/minisatip.c:306:9: warning: unknown conversion type character '-' in format [-Wformat=] ../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:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:285:5: note: declared here 285 | 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:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | 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:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | 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:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | 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:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | 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:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | 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:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | 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:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | 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:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | 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:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_utils [11/02 22:36:40.549 test_utils]: mkdir /tmp failed [11/02 22:36:40.549 test_utils]: test_mkdir_recursive() OK gcc -Os -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/csa.c ../src/satipc.c ../src/dvb.c ../src/ddci.c ../src/dvbapi.c ../src/utils/logging/logging.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/minisatip.c ../src/netceiver.c ../src/httpc.c ../src/aes.c ../src/api/symbols.c ../src/api/variables.c ../src/stream.c ../src/tables.c ../src/t2mi.c ../src/socketworks.c ../src/utils.c ../src/pmt.c ../src/axe.c ../src/adapter.c ../src/ca.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/minisatip.c: In function 'usage': ../src/minisatip.c:306:9: warning: unknown conversion type character ']' in format [-Wformat=] 306 | "\n\t./%s [-[fgtzE]] [-a x:y:z] [-b X:Y] [-B X] [-H X:Y] [-d A:C-U ] [-D device_id] [-e X-Y,Z] [-i prio] \n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | \t[-[uj] A1:S1-F1[-PIN]] [-m mac] [-P port] [-l module1[,module2]] [-v module1[,module2]] \n\t" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/minisatip.c:306:9: warning: unknown conversion type character '-' in format [-Wformat=] ../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:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:285:5: note: declared here 285 | 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:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | 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:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | 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:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | 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:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | 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:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | 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:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | 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:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | 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:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | 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:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/test_socketworks [11/02 22:36:51.028 test_socketworks]: Mutex init OK 0xaab95aa308a0 [11/02 22:36:51.028 test_socketworks]: Mutex init OK 0xfffb28601878 [11/02 22:36:51.028 test_socketworks]: sockets_add: handle 7 (type 0) returning socket sock 0 [:0] read: 0xaab95a9b3cbc [11/02 22:36:51.028 test_socketworks]: test_socket_enque_highprio() OK [11/02 22:36:51.028 test_socketworks]: SOCK 0: flushed 0 out of 2 (1 bytes) in 0 ms [11/02 22:36:51.028 test_socketworks]: SOCK 0 moved priority packet in the queue at pos 0 instead of 2 [11/02 22:36:51.028 test_socketworks]: test_socket_writev_prio() OK [11/02 22:36:51.028 test_socketworks]: sock 0 dropping enqueued stream data from 1 to 2 [11/02 22:36:51.028 test_socketworks]: test_socket_writev_prio_flush() OK [11/02 22:36:51.028 test_socketworks]: wrote packet 0: spos 2 wpos 3 [11/02 22:36:51.028 test_socketworks]: wrote packet 1: spos 2 wpos 4 [11/02 22:36:51.028 test_socketworks]: wrote packet 2: spos 2 wpos 5 [11/02 22:36:51.028 test_socketworks]: wrote packet 3: spos 2 wpos 6 [11/02 22:36:51.028 test_socketworks]: wrote packet 4: spos 2 wpos 7 [11/02 22:36:51.028 test_socketworks]: wrote packet 5: spos 2 wpos 8 [11/02 22:36:51.028 test_socketworks]: wrote packet 6: spos 2 wpos 9 [11/02 22:36:51.028 test_socketworks]: wrote packet 7: spos 2 wpos 0 [11/02 22:36:51.028 test_socketworks]: wrote packet 8: spos 2 wpos 1 [11/02 22:36:51.028 test_socketworks]: Insufficient bandwidth: sock 0: overflow 0.0 MB [11/02 22:36:51.028 test_socketworks]: wrote packet 9: spos 2 wpos 1 [11/02 22:36:51.028 test_socketworks]: test_socket_buffering() OK [11/02 22:36:51.028 test_socketworks]: sockets_del: sock 0 -> handle 7, sid -1, overflow bytes 10, allocated 10, used 16, unsend packets 0 [11/02 22:36:51.028 test_socketworks]: sockets_del: sock 0 Last open socket is at index 0 current_handle 7 [11/02 22:36:51.028 test_socketworks]: Destroying mutex 0xfffb28601878 [11/02 22:36:51.028 test_socketworks]: destroy disabled mutex 0xaab95aa17c20 gcc -Os -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/csa.c ../src/satipc.c ../src/dvb.c ../src/ddci.c ../src/dvbapi.c ../src/utils/logging/logging.c ../src/utils/hash_table.c ../src/utils/mutex.c ../src/utils/ticks.c ../src/minisatip.c ../src/netceiver.c ../src/httpc.c ../src/aes.c ../src/api/symbols.c ../src/api/variables.c ../src/stream.c ../src/tables.c ../src/t2mi.c ../src/socketworks.c ../src/utils.c ../src/pmt.c ../src/axe.c ../src/adapter.c ../src/ca.c -o ../build/test -Wl,--as-needed,-O1,--sort-common -lrt -lcrypto -ldl -lpthread -ldvbcsa ../src/minisatip.c: In function 'usage': ../src/minisatip.c:306:9: warning: unknown conversion type character ']' in format [-Wformat=] 306 | "\n\t./%s [-[fgtzE]] [-a x:y:z] [-b X:Y] [-B X] [-H X:Y] [-d A:C-U ] [-D device_id] [-e X-Y,Z] [-i prio] \n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | \t[-[uj] A1:S1-F1[-PIN]] [-m mac] [-P port] [-l module1[,module2]] [-v module1[,module2]] \n\t" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/minisatip.c:306:9: warning: unknown conversion type character '-' in format [-Wformat=] ../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:51, 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:266:28: note: declared here 266 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:285:5: note: declared here 285 | 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:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/ca.c: In function 'generate_key_seed': ../src/ca.c:993:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 993 | 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:994:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | 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:995:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | 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:997:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | 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:999:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 999 | 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:1001:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1001 | 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:1024:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1024 | 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:1027:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1027 | 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:1048:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1048 | 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:1050:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1050 | 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:1052:5: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | 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:1138:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1138 | 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:1139:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | 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:1141:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | 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:1143:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1143 | 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:1144:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1144 | 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:1271:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | 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:1272:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1272 | 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:1273:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | 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:1276:5: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1276 | 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:1277:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | 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:1279:5: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | 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:1280:5: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | 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:1311:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1311 | 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:1313:9: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1313 | AES_ecb_encrypt(&kp[i], &dec[i], &aes_ctx, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:63:6: note: declared here 63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Running ../build/utils/test_hash_table [11/02 22:37:01.358 test_hash_table]: Mutex init OK 0xffffc88115e0 [11/02 22:37:01.359 test_hash_table]: Mutex init OK 0xffffc8811520 [11/02 22:37:01.359 test_hash_table]: Destroying mutex 0xffffc88115e0 [11/02 22:37:01.359 test_hash_table]: Hash conflicts 56, len -46, size 180 [11/02 22:37:01.359 test_hash_table]: Destroying mutex 0xffffc88115e0 [11/02 22:37:01.359 test_hash_table]: test_hash_table() OK Tests completed successfully make[1]: Leaving directory '/home/buildozer/aports/testing/minisatip/src/minisatip-1.2.65/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.65-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.65-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.65-r0.apk >>> minisatip: Build complete at Sat, 11 Feb 2023 22:37:01 +0000 elapsed time 0h 1m 33s >>> minisatip: Cleaning up srcdir >>> minisatip: Cleaning up pkgdir >>> minisatip: Uninstalling dependencies... (1/5) Purging .makedepends-minisatip (20230211.223529) (2/5) Purging linux-headers (6.1.11-r0) (3/5) Purging openssl-dev (3.0.8-r0) (4/5) Purging libdvbcsa-dev (1.1.0-r1) (5/5) Purging libdvbcsa (1.1.0-r1) OK: 406 MiB in 96 packages >>> minisatip: Updating the testing/aarch64 repository index... >>> minisatip: Signing the index...