>>> oscam: Building community/oscam 1.20_svn20201119-r4 (using abuild 3.14.1-r3) started Tue, 19 Nov 2024 15:46:04 +0000 >>> oscam: Validating /home/buildozer/aports/community/oscam/APKBUILD... >>> oscam: Analyzing dependencies... >>> oscam: Installing for build: build-base subversion linux-headers openssl-dev>3 libusb-dev pcsc-lite-dev (1/20) Installing libuuid (2.40.2-r4) (2/20) Installing apr (1.7.5-r0) (3/20) Installing apr-util (1.6.3-r1) (4/20) Installing gdbm (1.24-r0) (5/20) Installing libsasl (2.1.28-r8) (6/20) Installing serf (1.3.10-r0) (7/20) Installing sqlite-libs (3.47.0-r0) (8/20) Installing subversion-libs (1.14.4-r0) (9/20) Installing subversion (1.14.4-r0) Executing subversion-1.14.4-r0.pre-install (10/20) Installing linux-headers (6.6-r1) (11/20) Installing openssl-dev (3.3.2-r4) (12/20) Installing libusb (1.0.27-r0) (13/20) Installing libusb-dev (1.0.27-r0) (14/20) Installing pcsc-lite-libs (2.2.3-r1) (15/20) Installing eudev-libs (3.2.14-r5) (16/20) Installing eudev-dev (3.2.14-r5) (17/20) Installing pcsc-lite-spy-libs (2.2.3-r1) (18/20) Installing pcsc-lite-dev (2.2.3-r1) (19/20) Installing .makedepends-oscam (20241119.154605) (20/20) Installing subversion-openrc (1.14.4-r0) Executing busybox-1.37.0-r7.trigger OK: 411 MiB in 120 packages >>> oscam: Cleaning up srcdir >>> oscam: Cleaning up pkgdir >>> oscam: Cleaning up tmpdir >>> oscam: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/oscam-1.20_svn20201119.zip Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> oscam: Fetching https://dev.alpinelinux.org/archive/oscam/oscam-1.20_svn20201119.zip Connecting to dev.alpinelinux.org (185.15.220.34:443) saving to '/var/cache/distfiles/v3.21/oscam-1.20_svn20201119.zip.part' oscam-1.20_svn202011 100% |********************************| 1541k 0:00:00 ETA '/var/cache/distfiles/v3.21/oscam-1.20_svn20201119.zip.part' saved >>> oscam: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/oscam-1.20_svn20201119.zip >>> oscam: Checking sha512sums... oscam-1.20_svn20201119.zip: OK oscam.initd: OK oscam.confd: OK oscam.conf: OK >>> oscam: Unpacking /var/cache/distfiles/v3.21/oscam-1.20_svn20201119.zip... fatal: not a git repository (or any of the parent directories): .git Enabling all config options. Enable TOUCH Enable WITH_SSL Enable WITH_NEUTRINO Enable CS_ANTICASC Enable CS_CACHEEX Enable CS_CACHEEX_AIO Enable CW_CYCLE_CHECK Enable LCDSUPPORT Enable LEDSUPPORT Enable CLOCKFIX Enable IPV6SUPPORT Enable MODULE_CAMD33 Enable MODULE_RADEGAST Enable MODULE_SERIAL Enable MODULE_CONSTCW Enable MODULE_PANDORA Enable MODULE_GHTTP Enable CARDREADER_SC8IN1 Enable CARDREADER_MP35 Enable CARDREADER_SMARGO Enable CARDREADER_DB2COM Enable CARDREADER_STAPI Enable CARDREADER_STAPI5 Enable CARDREADER_DRECAS fatal: not a git repository (or any of the parent directories): .git +------------------------------------------------------------------------------- | OSCam ver: 1.20_svn rev: target: i586-alpine-linux-musl-ssl-libusb-pcsc | Tools: | CROSS = | CC = gcc | Settings: | CONF_DIR = /etc/oscam | CC_OPTS = -O2 -ggdb -pipe -ffunction-sections -fdata-sections | CC_WARN = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition | CFLAGS = -Os -fstack-clash-protection -Wformat -Werror=format-security -g -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBUSB=1 -DWITH_PCSC=1 -I/usr/include/PCSC | LDFLAGS = -Wl,--gc-sections -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBUSB=1 -DWITH_PCSC=1 -I/usr/include/PCSC | LIBS = -lssl -lcrypto -lusb-1.0 -lrt -lpcsclite -lm -lpthread -ldl -lrt | UseFlags = USE_SSL=1 USE_LIBCRYPTO=1 USE_LIBUSB=1 USE_PCSC=1 | Config: | Addons : WEBIF WEBIF_LIVELOG WEBIF_JQUERY TOUCH WITH_SSL HAVE_DVBAPI WITH_NEUTRINO READ_SDT_CHARSETS IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CS_CACHEEX CS_CACHEEX_AIO CW_CYCLE_CHECK LCDSUPPORT LEDSUPPORT CLOCKFIX IPV6SUPPORT | Protocols: CAMD33 CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST SCAM SERIAL CONSTCW PANDORA GHTTP | Readers : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG BULCRYPT GRIFFIN DGCRYPT | CardRdrs : PHOENIX INTERNAL SC8IN1 MP35 SMARGO DB2COM STAPI STAPI5 STINGER DRECAS SMART PCSC | Compiler : gcc (Alpine 14.2.0) 14.2.0 | Config : build/i586-alpine-linux-musl-ssl-libusb-pcsc/config.mak | Binary : oscam +------------------------------------------------------------------------------- HOSTCC webif/pages_gen GEN webif/pages.c GEN Compressed 486460 template bytes into 185383 bytes. 301077 saved bytes (61.89%). fatal: not a git repository (or any of the parent directories): .git CC cscrypt/i_cbc.c CC cscrypt/i_skey.c CC cscrypt/i_ecb.c CC cscrypt/rc6.c CC cscrypt/sha256.c CC cscrypt/fast_aes.c CC cscrypt/md5.c CC csctapi/atr.c CC cscrypt/des.c CC csctapi/icc_async.c CC csctapi/protocol_t0.c CC csctapi/ifd_pcsc.c CC csctapi/ifd_mp35.c CC csctapi/ifd_phoenix.c CC minilzo/minilzo.c CC csctapi/ifd_drecas.c CC csctapi/protocol_t1.c CC cscrypt/mdc2.c CC csctapi/ifd_sci.c CC csctapi/ifd_smargo.c CC csctapi/io_serial.c CC csctapi/ifd_sc8in1.c CC module-camd35-cacheex.c CC module-camd33.c CC csctapi/ifd_smartreader.c CC csctapi/ifd_stinger.c CC module-cacheex.c CC module-camd35.c CC module-cccam-cacheex.c CC csctapi/ifd_db2com.c CC module-cccshare.c CC module-constcw.c CC module-csp.c CC module-cw-cycle-check.c CC module-dvbapi-chancache.c CC module-ird-guess.c CC module-cccam.c CC module-anticasc.c CC module-gbox-remm.c CC module-gbox-sms.c CC module-lcd.c CC module-gbox-cards.c CC module-gbox.c CC module-gbox-helper.c CC module-dvbapi.c CC module-led.c CC module-newcamd.c CC module-monitor.c cscrypt/md5.c: In function '__md5_crypt': cscrypt/md5.c:321:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 321 | MD5_Init(&ctx); | ^~~~~~~~ In file included from cscrypt/md5.h:5, from cscrypt/md5.c:25: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ cscrypt/md5.c:325:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | MD5_Update(&ctx, (const unsigned char *)pw, pw_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:328:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 328 | MD5_Update(&ctx, (const unsigned char *)__md5__magic, __md5__magic_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:331:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 331 | MD5_Update(&ctx, (const unsigned char *)sp, sl); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:334:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 334 | MD5_Init(&ctx1); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ cscrypt/md5.c:335:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 335 | MD5_Update(&ctx1, (const unsigned char *)pw, pw_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:336:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 336 | MD5_Update(&ctx1, (const unsigned char *)sp, sl); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:337:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 337 | MD5_Update(&ctx1, (const unsigned char *)pw, pw_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:338:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 338 | MD5_Final(final, &ctx1); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ cscrypt/md5.c:340:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 340 | { MD5_Update(&ctx, (const unsigned char *)final, pl > 16 ? 16 : pl); } | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:348:17: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 348 | MD5_Update(&ctx, ((i & 1) ? final : (const unsigned char *) pw), 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:356:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 356 | MD5_Final(final, &ctx); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ cscrypt/md5.c:365:17: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 365 | MD5_Init(&ctx1); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ cscrypt/md5.c:367:25: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 367 | { MD5_Update(&ctx1, (const unsigned char *)pw, pw_len); } | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:369:25: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | { MD5_Update(&ctx1, (const unsigned char *)final, 16); } | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:372:25: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 372 | { MD5_Update(&ctx1, (const unsigned char *)sp, sl); } | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:375:25: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 375 | { MD5_Update(&ctx1, (const unsigned char *)pw, pw_len); } | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:378:25: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 378 | { MD5_Update(&ctx1, (const unsigned char *)final, 16); } | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:380:25: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 380 | { MD5_Update(&ctx1, (const unsigned char *)pw, pw_len); } | ^ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ cscrypt/md5.c:381:17: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 381 | MD5_Final(final, &ctx1); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ csctapi/atr.c:385:56: warning: argument 2 of type 'unsigned char[15]' with mismatched bound [-Warray-parameter=] 385 | int32_t ATR_GetHistoricalBytes(ATR *atr, unsigned char hist[ATR_MAX_HISTORICAL], uint32_t *length) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from csctapi/atr.c:25: csctapi/atr.h:120:57: note: previously declared as 'unsigned char *' 120 | int32_t ATR_GetHistoricalBytes(ATR *atr, unsigned char *hist, uint32_t *length); | ~~~~~~~~~~~~~~~^~~~ csctapi/atr.c:395:44: warning: argument 2 of type 'unsigned char[33]' with mismatched bound [-Warray-parameter=] 395 | int32_t ATR_GetRaw(ATR *atr, unsigned char buffer[ATR_MAX_SIZE], uint32_t *length) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ csctapi/atr.h:125:45: note: previously declared as 'unsigned char *' 125 | int32_t ATR_GetRaw(ATR *atr, unsigned char *buffer, uint32_t *lenght); | ~~~~~~~~~~~~~~~^~~~~~ In file included from globals.h:2529, from module-cw-cycle-check.c:3: module-cw-cycle-check.c: In function 'cleanupcwcycle': module-cw-cycle-check.c:166:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 166 | cs_log_dbg(D_CWC, "cyclecheck [Cleanup] diff: %ld kct: %i", now - currentnode->time, kct); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:166:65: note: format string is defined here 166 | cs_log_dbg(D_CWC, "cyclecheck [Cleanup] diff: %ld kct: %i", now - currentnode->time, kct); | ~~^ | | | long int | %lld module-cccam.c: In function 'cc_crypt_cmd0c': module-cccam.c:265:33: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 265 | AES_decrypt((uint8_t *)buf + i * 16, (uint8_t *)out + i * 16, &cc->cmd0c_AES_key); | ^~~~~~~~~~~ In file included from cscrypt/aes.h:2, from globals.h:110, from module-cccam.c:3: /usr/include/openssl/aes.h:60:6: note: declared here 60 | void AES_decrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ module-cw-cycle-check.c: In function 'checkcwcycle_int': module-cccam.c: In function 'set_cmd0c_cryptkey': module-cccam.c:335:25: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 335 | AES_set_decrypt_key((uint8_t *)key_buf, 256, &cc->cmd0c_AES_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ In file included from globals.h:2529, from module-anticasc.c:4: module-anticasc.c: In function 'insert_zaplist': module-cw-cycle-check.c:278:67: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 278 | cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:278:129: note: format string is defined here 278 | cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time); | ~~^ | | | long int | %lld module-anticasc.c:440:53: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=] 440 | cs_log_dbg(D_TRACE, "[zaplist] update Entry [%i] for Client: %s %04X@%06X/%04X/%04X TIME: %ld Diff: %ld zcw: %i(%i)", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime, zaptime-client->client_zap_list[k].lasttime, zap_caid_weight, zap_caid_weight*2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:279:67: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 279 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:279:129: note: format string is defined here 279 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-anticasc.c:440:126: note: format string is defined here 440 | cs_log_dbg(D_TRACE, "[zaplist] update Entry [%i] for Client: %s %04X@%06X/%04X/%04X TIME: %ld Diff: %ld zcw: %i(%i)", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime, zaptime-client->client_zap_list[k].lasttime, zap_caid_weight, zap_caid_weight*2); | ~~^ | | | long int | %lld module-cw-cycle-check.c:279:67: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 279 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:279:143: note: format string is defined here 279 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-anticasc.c:440:53: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'time_t' {aka 'long long int'} [-Wformat=] 440 | cs_log_dbg(D_TRACE, "[zaplist] update Entry [%i] for Client: %s %04X@%06X/%04X/%04X TIME: %ld Diff: %ld zcw: %i(%i)", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime, zaptime-client->client_zap_list[k].lasttime, zap_caid_weight, zap_caid_weight*2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-anticasc.c:440:136: note: format string is defined here 440 | cs_log_dbg(D_TRACE, "[zaplist] update Entry [%i] for Client: %s %04X@%06X/%04X/%04X TIME: %ld Diff: %ld zcw: %i(%i)", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime, zaptime-client->client_zap_list[k].lasttime, zap_caid_weight, zap_caid_weight*2); | ~~^ | | | long int | %lld module-cw-cycle-check.c:282:75: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 282 | cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:282:148: note: format string is defined here 282 | cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:282:75: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 282 | cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:282:162: note: format string is defined here 282 | cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-anticasc.c:464:53: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'time_t' {aka 'long long int'} [-Wformat=] 464 | cs_log_dbg(D_TRACE, "[zaplist] new Entry [%i] for Client: %s %04X@%06X/%04X/%04X TIME: %ld", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-anticasc.c:464:123: note: format string is defined here 464 | cs_log_dbg(D_TRACE, "[zaplist] new Entry [%i] for Client: %s %04X@%06X/%04X/%04X TIME: %ld", k, username(client), er->caid, er->prid, er->chid, er->srvid, zaptime); | ~~^ | | | long int | %lld module-cw-cycle-check.c:304:67: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 304 | cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:304:129: note: format string is defined here 304 | cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:305:67: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 305 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-camd35.c: In function 'camd35_auth_client': module-cw-cycle-check.c:305:129: note: format string is defined here 305 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-camd35.c:146:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | if(crc == crc32(0L, MD5((uint8_t *)account->usr, cs_strlen(account->usr), md5tmp), MD5_DIGEST_LENGTH)) | ^~ In file included from cscrypt/md5.h:5, from module-camd35.c:6: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-cw-cycle-check.c:305:67: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 305 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-camd35.c:153:33: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | if(!aes_set_key_alloc(&cl->aes_keys, (char *) MD5(cl->upwd, cs_strlen((char *)cl->upwd), md5tmp))) | ^~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-cw-cycle-check.c:305:143: note: format string is defined here 305 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:308:75: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 308 | cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ cscrypt/mdc2.c: In function 'mdc2_body': cscrypt/mdc2.c:640:17: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 640 | DES_set_odd_parity(&c->h); | ^~~~~~~~~~~~~~~~~~ In file included from cscrypt/mdc2.h:67, from cscrypt/mdc2.c:2: /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ module-cw-cycle-check.c:308:148: note: format string is defined here 308 | cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld cscrypt/mdc2.c:641:17: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 641 | DES_set_key_unchecked(&c->h, &k); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cscrypt/mdc2.c:644:17: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 644 | DES_set_odd_parity(&c->hh); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ cscrypt/mdc2.c:645:17: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 645 | DES_set_key_unchecked(&c->hh, &k); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ module-cw-cycle-check.c:308:75: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 308 | cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:308:162: note: format string is defined here 308 | cs_log_dbg(D_CWC, "cyclecheck [Same CW but much too late] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:364:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 364 | cs_log_dbg(D_CWC, "cyclecheck [Valid CW 0 Cycle] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:364:128: note: format string is defined here 364 | cs_log_dbg(D_CWC, "cyclecheck [Valid CW 0 Cycle] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); | ~~^ | | | long int | %lld module-cw-cycle-check.c:372:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 372 | cs_log_dbg(D_CWC, "cyclecheck [Valid CW 1 Cycle] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:372:128: note: format string is defined here 372 | cs_log_dbg(D_CWC, "cyclecheck [Valid CW 1 Cycle] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); | ~~^ | | | long int | %lld module-cw-cycle-check.c:374:59: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 374 | cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:374:121: note: format string is defined here 374 | cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:375:59: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 375 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:375:121: note: format string is defined here 375 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:375:59: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 375 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:375:135: note: format string is defined here 375 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-cccam.c: In function 'send_cmd05_answer': module-cccam.c:1209:41: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1209 | AES_set_encrypt_key((uint8_t *) &aeskey, 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, | ^~~~~~~~~~~~~~~~~~~ module-cccam.c:1214:49: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1214 | AES_encrypt((uint8_t *)data + i, (uint8_t *) &out + i, &key); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ module-cw-cycle-check.c:407:69: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 407 | { cs_log_dbg(D_CWC, "cyclecheck [ATTENTION!! NON Valid CW] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:407:138: note: format string is defined here 407 | { cs_log_dbg(D_CWC, "cyclecheck [ATTENTION!! NON Valid CW] Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); } | ~~^ | | | long int | %lld module-camd35.c: In function 'camd35_client_init': module-cw-cycle-check.c:409:69: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 409 | { cs_log_dbg(D_CWC, "cyclecheck [ATTENTION!! NON Valid CW Cycle] NO CW Cycle detected! Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-camd35.c:866:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 866 | i2b_buf(4, crc32(0L, MD5((uint8_t *)cl->reader->r_usr, cs_strlen(cl->reader->r_usr), md5tmp), 16), cl->ucrc); | ^~~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-cw-cycle-check.c:409:166: note: format string is defined here 409 | { cs_log_dbg(D_CWC, "cyclecheck [ATTENTION!! NON Valid CW Cycle] NO CW Cycle detected! Client: %s EA: %s Timediff: %ld Stage: %i Cycletime: %i dyncycletime: %i nextCycleCW = CW%i from Reader: %s", user, er_ecmf, now - cwc->time, cwc->stage, cwc->cycletime, cwc->dyncycletime, cwc->nextcyclecw, reader); } | ~~^ | | | long int | %lld module-camd35.c:868:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 868 | if(!aes_set_key_alloc(&cl->aes_keys, (char *)MD5(cl->upwd, cs_strlen((char *)cl->upwd), md5tmp))) | ^~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-cw-cycle-check.c:410:59: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 410 | cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:410:121: note: format string is defined here 410 | cs_log_dbg(D_CWC, "cyclecheck [Dump Stored CW] Client: %s EA: %s CW: %s Time: %ld", user, cwc_ecmf, cwc_cw, cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:411:59: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 411 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:411:121: note: format string is defined here 411 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:411:59: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 411 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:411:135: note: format string is defined here 411 | cs_log_dbg(D_CWC, "cyclecheck [Dump CheckedCW] Client: %s EA: %s CW: %s Time: %ld Timediff: %ld", user, er_ecmf, cwstr, now, now - cwc->time); | ~~^ | | | long int | %lld module-cw-cycle-check.c:458:75: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 458 | cs_log_dbg(D_CWC, "cyclecheck [Set Stage 1] %s Cycletime: %i Lockdiff: %ld", cwc_ecmf, cwc->cycletime, now - cwc->locktime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:458:130: note: format string is defined here 458 | cs_log_dbg(D_CWC, "cyclecheck [Set Stage 1] %s Cycletime: %i Lockdiff: %ld", cwc_ecmf, cwc->cycletime, now - cwc->locktime); | ~~^ | | | long int | %lld module-cw-cycle-check.c:473:75: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 473 | cs_log_dbg(D_CWC, "cyclecheck [Set Stage 2] %s Cycletime: %i Lockdiff: %ld", cwc_ecmf, cwc->cycletime, now - cwc->locktime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:473:130: note: format string is defined here 473 | cs_log_dbg(D_CWC, "cyclecheck [Set Stage 2] %s Cycletime: %i Lockdiff: %ld", cwc_ecmf, cwc->cycletime, now - cwc->locktime); | ~~^ | | | long int | %lld module-cw-cycle-check.c:501:83: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 501 | cs_log_dbg(D_CWC, "cyclecheck [Set Stage 3] %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:501:138: note: format string is defined here 501 | cs_log_dbg(D_CWC, "cyclecheck [Set Stage 3] %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw); | ~~^ | | | long int | %lld module-cw-cycle-check.c:534:75: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 534 | cs_log_dbg(D_CWC, "cyclecheck [Back to Stage 3] %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:534:134: note: format string is defined here 534 | cs_log_dbg(D_CWC, "cyclecheck [Back to Stage 3] %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw); | ~~^ | | | long int | %lld module-cw-cycle-check.c:544:83: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 544 | cs_log_dbg(D_CWC, "cyclecheck [Back to Stage 1] too much cyclefailure, maybe cycletime not correct %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:544:193: note: format string is defined here 544 | cs_log_dbg(D_CWC, "cyclecheck [Back to Stage 1] too much cyclefailure, maybe cycletime not correct %s Cycletime: %i Lockdiff: %ld nextCycleCW = CW%i", cwc_ecmf, cwc->cycletime, now - cwc->locktime, cwc->nextcyclecw); | ~~^ | | | long int | %lld module-cw-cycle-check.c:563:59: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 563 | cs_log_dbg(D_CWC, "cyclecheck [Ignore this EA] for LearningStages because of locktime EA: %s Lockdiff: %ld", cwc_ecmf, now - cwc->locktime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:563:146: note: format string is defined here 563 | cs_log_dbg(D_CWC, "cyclecheck [Ignore this EA] for LearningStages because of locktime EA: %s Lockdiff: %ld", cwc_ecmf, now - cwc->locktime); | ~~^ | | | long int | %lld CC module-newcamd-des.c module-cw-cycle-check.c:640:51: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 640 | cs_log_dbg(D_CWC, "cyclecheck [Store New Entry] %s Time: %ld Stage: %i Cycletime: %i Locktime: %ld", er_ecmf, new->time, new->stage, new->cycletime, new->locktime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:640:92: note: format string is defined here 640 | cs_log_dbg(D_CWC, "cyclecheck [Store New Entry] %s Time: %ld Stage: %i Cycletime: %i Locktime: %ld", er_ecmf, new->time, new->stage, new->cycletime, new->locktime); | ~~^ | | | long int | %lld module-cw-cycle-check.c:640:51: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 640 | cs_log_dbg(D_CWC, "cyclecheck [Store New Entry] %s Time: %ld Stage: %i Cycletime: %i Locktime: %ld", er_ecmf, new->time, new->stage, new->cycletime, new->locktime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:640:130: note: format string is defined here 640 | cs_log_dbg(D_CWC, "cyclecheck [Store New Entry] %s Time: %ld Stage: %i Cycletime: %i Locktime: %ld", er_ecmf, new->time, new->stage, new->cycletime, new->locktime); | ~~^ | | | long int | %lld module-cw-cycle-check.c:679:35: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 679 | cs_log_dbg(D_CWC, "cyclecheck [Update Entry and add on top] %s Time: %ld Stage: %i Cycletime: %i", er_ecmf, cwc->time, cwc->stage, cwc->cycletime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cw-cycle-check.c:679:88: note: format string is defined here 679 | cs_log_dbg(D_CWC, "cyclecheck [Update Entry and add on top] %s Time: %ld Stage: %i Cycletime: %i", er_ecmf, cwc->time, cwc->stage, cwc->cycletime); | ~~^ | | | long int | %lld CC module-pandora.c module-cccam.c: In function 'cc_parse_msg': module-cccam.c:3734:25: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3734 | AES_set_encrypt_key((uint8_t *)&aeskey, 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, | ^~~~~~~~~~~~~~~~~~~ module-cccam.c:3735:25: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3735 | AES_encrypt((uint8_t *)data, (uint8_t *)&out, &key); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ module-cccam.c:3774:33: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3774 | MD5(data, 0x20, md5hash); | ^~~ In file included from cscrypt/md5.h:5, from module-cccam.c:7: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-cccam.c: In function 'cc_srv_connect': module-cccam.c:4298:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4298 | SHA1_Init(&ctx); | ^~~~~~~~~ In file included from cscrypt/sha1.h:2, from module-cccam.c:8: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ module-cccam.c:4299:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4299 | SHA1_Update(&ctx, data, 16); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ module-cccam.c:4300:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4300 | SHA1_Final(buf, &ctx); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ module-monitor.c: In function 'secmon_auth_client': module-monitor.c:98:33: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | (crc == crc32(0L, MD5((uint8_t *)account->usr, cs_strlen(account->usr), md5tmp), MD5_DIGEST_LENGTH))) | ^ In file included from cscrypt/md5.h:5, from module-monitor.c:5: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-monitor.c:101:25: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 101 | aes_set_key(&module_data->aes_keys, (char *)MD5((uint8_t *)ESTR(account->pwd), cs_strlen(ESTR(account->pwd)), md5tmp)); | ^~~~~~~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-dvbapi.c: In function 'request_cw': module-dvbapi.c:3993:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3993 | MD5(er->ecm, er->ecmlen, md5tmp); | ^~~ In file included from cscrypt/md5.h:5, from module-dvbapi.c:27: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-cccam.c: In function 'cc_cli_connect': module-cccam.c:4745:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4745 | SHA1_Init(&ctx); | ^~~~~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ module-cccam.c:4746:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4746 | SHA1_Update(&ctx, data, 16); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ module-cccam.c:4747:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4747 | SHA1_Final(hash, &ctx); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ In file included from globals.h:2529: module-cccam.c:4796:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 4796 | cs_log_dbg(D_READER, "cccam: last_s=%ld, last_g=%ld", rdr->last_s, rdr->last_g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cccam.c:4796:47: note: format string is defined here 4796 | cs_log_dbg(D_READER, "cccam: last_s=%ld, last_g=%ld", rdr->last_s, rdr->last_g); | ~~^ | | | long int | %lld module-cccam.c:4796:30: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 4796 | cs_log_dbg(D_READER, "cccam: last_s=%ld, last_g=%ld", rdr->last_s, rdr->last_g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-cccam.c:4796:59: note: format string is defined here 4796 | cs_log_dbg(D_READER, "cccam: last_s=%ld, last_g=%ld", rdr->last_s, rdr->last_g); | ~~^ | | | long int | %lld CC module-ghttp.c CC module-radegast.c module-dvbapi.c: In function 'dvbapi_check_ecm_delayed_delivery': module-dvbapi.c:8538:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 8538 | MD5(er->ecm, er->ecmlen, md5tmp); | ^~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-pandora.c: In function 'pandora_process_request': module-pandora.c:57:25: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | if(!memcmp(buf + 10, MD5(buf + 14 + CS_ECMSTORESIZE, ecmlen, md5tmp), CS_ECMSTORESIZE)) | ^~ In file included from cscrypt/md5.h:5, from module-pandora.c:7: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-pandora.c: In function 'pandora_server': module-pandora.c:164:25: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | memcpy(cl->pand_md5_key, MD5((uint8_t *)cfg.pand_pass, cs_strlen(cfg.pand_pass), md5tmp), 16); | ^~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-pandora.c: In function 'pandora_client_init': module-pandora.c:233:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 233 | memcpy(cl->pand_md5_key, MD5((uint8_t *)rdr->r_pwd, cs_strlen(rdr->r_pwd), md5tmp), 16); | ^~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-pandora.c: In function 'pandora_send_ecm': module-pandora.c:274:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | memcpy(&msgbuf[10], MD5(er->ecm, er->ecmlen, md5tmp), CS_ECMSTORESIZE); | ^~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ CC module-scam.c CC module-serial.c CC module-stat.c In file included from globals.h:2529, from module-radegast.c:3: module-radegast.c: In function 'radegast_cli_init': module-radegast.c:311:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 311 | cs_log_dbg(D_CLIENT, "radegast: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-radegast.c:311:50: note: format string is defined here 311 | cs_log_dbg(D_CLIENT, "radegast: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g); | ~~^ | | | long int | %lld module-radegast.c:311:30: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 311 | cs_log_dbg(D_CLIENT, "radegast: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-radegast.c:311:62: note: format string is defined here 311 | cs_log_dbg(D_CLIENT, "radegast: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g); | ~~^ | | | long int | %lld CC reader-common.c CC webif/pages.c CC module-webif-lib.c In file included from globals.h:2529, from module-scam.c:3: module-scam.c: In function 'scam_client_init': module-scam.c:666:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 666 | cs_log_dbg(D_CLIENT, "scam: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-scam.c:666:46: note: format string is defined here 666 | cs_log_dbg(D_CLIENT, "scam: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g); | ~~^ | | | long int | %lld module-scam.c:666:30: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 666 | cs_log_dbg(D_CLIENT, "scam: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ module-scam.c:666:58: note: format string is defined here 666 | cs_log_dbg(D_CLIENT, "scam: last_s=%ld, last_g=%ld", cl->reader->last_s, cl->reader->last_g); | ~~^ | | | long int | %lld CC reader-dgcrypt.c CC module-webif-tpl.c CC reader-bulcrypt.c CC module-webif.c module-serial.c: In function 'init_oscam_ser': module-serial.c:1299:20: warning: the comparison will always evaluate as 'true' for the pointer operand in 'p + 1' must not be NULL [-Waddress] 1299 | if(!(p + 1) || (!(p + 1)[0])) { return NULL; } | ^ CC reader-conax.c CC reader-cryptoworks.c module-stat.c: In function 'load_stat_from_file': module-stat.c:170:120: warning: format '%ld' expects argument of type 'long int *', but argument 10 has type 'time_t *' {aka 'long long int *'} [-Wformat=] 170 | i = sscanf(line, "%255s rc %04d caid %04hX prid %06X srvid %04hX time avg %d ms ecms %d last %ld fail %d len %02hX\n", | ~~^ | | | long int * | %lld 171 | buf, &s->rc, &s->caid, &s->prid, &s->srvid, 172 | &s->time_avg, &s->ecm_count, &s->last_received.time, &s->fail_factor, &s->ecmlen); | ~~~~~~~~~~~~~~~~~~~~~~ | | | time_t * {aka long long int *} CC reader-dre.c module-stat.c: In function 'save_stat_to_file_thread': module-stat.c:364:85: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'time_t' {aka 'long long int'} [-Wformat=] 364 | fprintf(file, "%s,%d,%04hX,%06X,%04hX,%04hX,%d,%d,%ld,%d,%02hX\n", | ~~^ | | | long int | %lld 365 | rdr->label, s->rc, s->caid, s->prid, 366 | s->srvid, (uint16_t)s->chid, s->time_avg, s->ecm_count, s->last_received.time, s->fail_factor, s->ecmlen); | ~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} module-stat.c: In function 'convert_to_beta_int': module-stat.c:800:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 800 | memcpy(er->ecmd5, MD5(er->ecm + 13, er->ecmlen - 13, md5tmp), CS_ECMSTORESIZE); | ^~~~~~ In file included from cscrypt/md5.h:5, from module-stat.c:6: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-stat.c: In function 'convert_to_nagra_int': module-stat.c:810:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 810 | memcpy(er->ecmd5, MD5(er->ecm + 3, er->ecmlen - 3, md5tmp), CS_ECMSTORESIZE); | ^~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ CC reader-dre-cas.c CC reader-dre-st20.c CC reader-dre-common.c CC reader-irdeto.c CC reader-nagra-common.c CC reader-griffin.c CC reader-nagra.c CC reader-nagracak7.c CC reader-tongfang.c CC reader-viaccess.c CC reader-seca.c CC reader-videoguard-common.c CC oscam-aes.c CC reader-videoguard2.c CC reader-videoguard1.c CC reader-videoguard12.c module-webif-lib.c: In function 'calculate_opaque': module-webif-lib.c:123:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 123 | char_to_hex(MD5((uint8_t *)noncetmp, cs_strlen(noncetmp), md5tmp), MD5_DIGEST_LENGTH, (uint8_t *)opaque); | ^~~~~~~~~~~ In file included from cscrypt/md5.h:5, from module-webif-lib.c:6: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-webif-lib.c: In function 'calculate_nonce': module-webif-lib.c:189:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 189 | char_to_hex(MD5((uint8_t *)noncetmp, cs_strlen(noncetmp), md5tmp), MD5_DIGEST_LENGTH, (uint8_t *)result); | ^~~~~~~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-webif-lib.c: In function 'check_auth': module-webif-lib.c:277:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 277 | char_to_hex(MD5((uint8_t *)A1tmp, cs_strlen(A1tmp), md5tmp), MD5_DIGEST_LENGTH, (uint8_t *)A1); | ^~~~~~~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-webif-lib.c:281:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 281 | char_to_hex(MD5((uint8_t *)A2tmp, cs_strlen(A2tmp), md5tmp), MD5_DIGEST_LENGTH, (uint8_t *)A2); | ^~~~~~~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ module-webif-lib.c:285:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 285 | char_to_hex(MD5((uint8_t *)A3tmp, cs_strlen(A3tmp), md5tmp), MD5_DIGEST_LENGTH, (uint8_t *)A3); | ^~~~~~~~~~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ CC oscam-array.c module-webif.c: In function 'get_ecm_fullhistorystring': module-webif.c:548:87: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 548 | pos += snprintf(value + pos, needed - pos, "%s%d:%d:%ld", dot, cl->cwlastresptimes[k].duration, cl->cwlastresptimes[k].rc, cl->cwlastresptimes[k].timestamp); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld CC oscam-hashtable.c reader-videoguard-common.c: In function 'cAES_SetKey': reader-videoguard-common.c:302:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 302 | AES_set_encrypt_key(key, 128, &(csystem_data->ekey)); | ^~~~~~~~~~~~~~~~~~~ In file included from cscrypt/aes.h:2, from globals.h:110, from reader-videoguard-common.c:5: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ reader-videoguard-common.c: In function 'cAES_Encrypt': reader-videoguard-common.c:310:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 310 | for(i = 0; i < len; i += 16) { AES_encrypt(data + i, crypted + i, &(csystem_data->ekey)); } | ^~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ oscam-aes.c: In function 'aes_set_key': oscam-aes.c:10:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | AES_set_decrypt_key((const uint8_t *)key, 128, &aes->aeskey_decrypt); | ^~~~~~~~~~~~~~~~~~~ In file included from cscrypt/aes.h:2, from globals.h:110, from oscam-aes.c:3: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ oscam-aes.c:11:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11 | AES_set_encrypt_key((const uint8_t *)key, 128, &aes->aeskey_encrypt); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ oscam-aes.c: In function 'aes_decrypt': oscam-aes.c:29:17: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 29 | AES_decrypt(buf + i, buf + i, &aes->aeskey_decrypt); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:60:6: note: declared here 60 | void AES_decrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ oscam-aes.c: In function 'aes_encrypt_idx': oscam-aes.c:38:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | AES_encrypt(buf + i, buf + i, &aes->aeskey_encrypt); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ oscam-aes.c: In function 'aes_cbc_encrypt': oscam-aes.c:44:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 44 | AES_cbc_encrypt(buf, buf, n, &aes->aeskey_encrypt, iv, AES_ENCRYPT); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ oscam-aes.c: In function 'aes_cbc_decrypt': oscam-aes.c:49:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 49 | AES_cbc_encrypt(buf, buf, n, &aes->aeskey_decrypt, iv, AES_DECRYPT); | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ oscam-aes.c: In function 'add_aes_entry': oscam-aes.c:67:17: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 67 | AES_set_decrypt_key((const uint8_t *)aesKey, 128, &(new_entry->key)); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ oscam-aes.c: In function 'aes_decrypt_from_list': oscam-aes.c:227:17: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | { AES_decrypt(buf + i, buf + i, &(current->key)); } | ^ /usr/include/openssl/aes.h:60:6: note: declared here 60 | void AES_decrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ module-webif.c: In function 'send_oscam_reader': module-webif.c:2009:25: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2009 | MD5((uint8_t *)rdr->label, cs_strlen(rdr->label), md5tmp); | ^~~ In file included from cscrypt/md5.h:5, from module-webif.c:10: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ CC oscam-cache.c module-webif.c: In function 'send_oscam_user_config': module-webif.c:4720:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4720 | MD5((uint8_t *)account->usr, cs_strlen(account->usr), md5tmp); | ^~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ CC oscam-chk.c CC oscam-conf.c CC oscam-client.c reader-videoguard2.c: In function 'do_post_dw_hash': reader-videoguard2.c:231:41: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | MD5(buffer, 8 + (ecm_header_data[ecmi] & 0x7D), md5tmp); | ^~~ In file included from cscrypt/md5.h:5, from reader-videoguard2.c:3: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ reader-videoguard2.c: In function 'videoguard2_card_init': reader-videoguard2.c:1168:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | AES_set_decrypt_key(dimeno_magic, 128, &(csystem_data->astrokey)); | ^~~~~~~~~~~~~~~~~~~ In file included from cscrypt/aes.h:2, from globals.h:110, from reader-videoguard2.c:1: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ reader-videoguard2.c: In function 'videoguard2_do_ecm': reader-videoguard2.c:1455:33: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1455 | AES_decrypt(buffer, buffer, &(csystem_data->astrokey)); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:60:6: note: declared here 60 | void AES_decrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ CC oscam-conf-mk.c module-webif.c: In function 'process_request': module-webif.c:9150:75: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 9150 | tpl_printf(vars, TPLADD, "APIRUNTIME", "%ld", now - first_client->login); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long int | %lld CC oscam-config-account.c CC oscam-conf-chk.c CC oscam-config-global.c CC oscam-config.c CC oscam-config-reader.c CC oscam-emm.c oscam-client.c: In function 'cs_auth_client': oscam-client.c:443:41: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 443 | client->pcrc = crc32(0L, MD5((uint8_t *)(ESTR(account->pwd)), cs_strlen(ESTR(account->pwd)), md5tmp), MD5_DIGEST_LENGTH); | ^~~~~~ In file included from cscrypt/md5.h:5, from oscam-client.c:5: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ oscam-client.c: In function 'cs_reinit_clients': oscam-client.c:604:25: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 604 | if(account && !account->disabled && cl->pcrc == crc32(0L, MD5((uint8_t *)ESTR(account->pwd), cs_strlen(ESTR(account->pwd)), md5tmp), MD5_DIGEST_LENGTH)) | ^~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ CC oscam-emm-cache.c oscam-config-account.c: In function 'account_expdate_fn': oscam-config-account.c:162:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 162 | account->expirationdate = (time_t)NULL; | ^ CC oscam-ecm.c CC oscam-failban.c oscam-emm.c: In function 'do_emm': oscam-emm.c:602:25: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 602 | MD5(ep->emm, SCT_LEN(ep->emm), md5tmp); | ^~~ In file included from cscrypt/md5.h:5, from oscam-emm.c:4: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ oscam-emm.c: In function 'reader_do_emm': oscam-emm.c:674:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 674 | MD5(ep->emm, SCT_LEN(ep->emm), md5tmp); | ^~~ /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ CC oscam-files.c CC oscam-garbage.c CC oscam-lock.c oscam-emm-cache.c: In function 'emm_save_cache': oscam-emm-cache.c:71:46: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 71 | result = fprintf(file, "%s,%ld,%ld,%02X,%04X,%s\n", tmp_emmd5, c->firstseen.time, c->lastseen.time, c->type, c->len, tmp_emm); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld oscam-emm-cache.c:71:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 71 | result = fprintf(file, "%s,%ld,%ld,%02X,%04X,%s\n", tmp_emmd5, c->firstseen.time, c->lastseen.time, c->type, c->len, tmp_emm); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld oscam-emm-cache.c: In function 'save_emmstat_to_file': oscam-emm-cache.c:262:65: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 262 | result = fprintf(file, "%s,%s,%ld,%ld,%02X,%04X\n", rdr->label, tmp_emmd5, s->firstwritten.time, s->lastwritten.time, s->type, s->count); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld oscam-emm-cache.c:262:69: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 262 | result = fprintf(file, "%s,%s,%ld,%ld,%02X,%04X\n", rdr->label, tmp_emmd5, s->firstwritten.time, s->lastwritten.time, s->type, s->count); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld In file included from globals.h:2529, from oscam-ecm.c:3: oscam-ecm.c: In function 'send_dcw': oscam-ecm.c:1150:63: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 1150 | { cs_log_dbg(D_TRACE, "[zaplist] ACoSC for Client: %s penalty_duration: %ld seconds left(%s)", username(client), client->account->acosc_penalty_until - zaptime, info3); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ oscam-ecm.c:1150:116: note: format string is defined here 1150 | { cs_log_dbg(D_TRACE, "[zaplist] ACoSC for Client: %s penalty_duration: %ld seconds left(%s)", username(client), client->account->acosc_penalty_until - zaptime, info3); } | ~~^ | | | long int | %lld CC oscam-log-reader.c CC oscam-net.c In file included from globals.h:2529, from oscam-failban.c:3: oscam-failban.c: In function 'cs_check_v': oscam-failban.c:107:45: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 107 | cs_log_dbg(D_TRACE, "failban: ban ip %s:%d with timestamp %ld%s%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 | cs_inet_ntoa(v_ban_entry->v_ip), v_ban_entry->v_port, v_ban_entry->v_time.time, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.h:20:147: note: in definition of macro 'cs_log_dbg' 20 | #define cs_log_dbg(mask, fmt, params...) do { if (config_enabled(WITH_DEBUG) && ((mask) & cs_dblevel)) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params); } while(0) | ^~~ oscam-failban.c:107:85: note: format string is defined here 107 | cs_log_dbg(D_TRACE, "failban: ban ip %s:%d with timestamp %ld%s%s", | ~~^ | | | long int | %lld CC oscam-log.c CC oscam-llist.c oscam-ecm.c: In function 'get_cw': oscam-ecm.c:2761:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2761 | memcpy(er->ecmd5, MD5(er->ecm + offset, er->ecmlen - offset, md5tmp), CS_ECMSTORESIZE); | ^~~~~~ In file included from cscrypt/md5.h:5, from oscam-ecm.c:4: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ CC oscam-reader.c CC oscam-simples.c CONF build/i586-alpine-linux-musl-ssl-libusb-pcsc/config.c BUILD list_smargo CC oscam-string.c CC oscam-work.c CC oscam-time.c oscam-log.c: In function 'cs_statistics': oscam-log.c:702:111: warning: format '%ld' expects argument of type 'long int', but argument 20 has type 'time_t' {aka 'long long int'} [-Wformat=] 702 | snprintf(buf, sizeof(buf), "s%02d.%02d.%02d %02d:%02d:%02d %3.1f %s %s %d %d %d %d %d %d %d %ld %ld %02d:%02d:%02d %s %04X@%06X:%04X %s\n", | ~~^ | | | long int | %lld ...... 714 | client->login, | ~~~~~~~~~~~~~ | | | time_t {aka long long int} oscam-log.c:702:115: warning: format '%ld' expects argument of type 'long int', but argument 21 has type 'time_t' {aka 'long long int'} [-Wformat=] 702 | snprintf(buf, sizeof(buf), "s%02d.%02d.%02d %02d:%02d:%02d %3.1f %s %s %d %d %d %d %d %d %d %ld %ld %02d:%02d:%02d %s %04X@%06X:%04X %s\n", | ~~^ | | | long int | %lld ...... 715 | client->last, | ~~~~~~~~~~~~ | | | time_t {aka long long int} CC oscam.c In function 'init_syslog_socket', inlined from 'init_syslog_socket' at oscam-log.c:756:13: oscam-log.c:771:43: warning: array subscript 'struct sockaddr_in6[0]' is partly outside array bounds of 'struct sockaddr_in[1]' [-Warray-bounds=] 771 | SIN_GET_ADDR(syslog_addr) = in_addr; oscam-log.c: In function 'init_syslog_socket': oscam-log.c:31:27: note: object 'syslog_addr' of size 16 31 | static struct sockaddr_in syslog_addr; | ^~~~~~~~~~~ oscam.c: In function 'ssl_init': oscam.c:52:9: warning: 'ERR_load_BIO_strings' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 52 | ERR_load_BIO_strings(); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/cryptoerr.h:17, from /usr/include/openssl/crypto.h:38, from oscam.c:45: /usr/include/openssl/cryptoerr_legacy.h:31:27: note: declared here 31 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void); | ^~~~~~~~~~~~~~~~~~~~ oscam.c:53:9: warning: 'ERR_load_SSL_strings' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 53 | ERR_load_SSL_strings(); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/sslerr.h:17, from /usr/include/openssl/ssl.h:44, from oscam.c:46: /usr/include/openssl/sslerr_legacy.h:29:27: note: declared here 29 | OSSL_DEPRECATEDIN_3_0 int ERR_load_SSL_strings(void); | ^~~~~~~~~~~~~~~~~~~~ oscam.c: In function 'write_versionfile': oscam.c:377:48: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 377 | fprintf(fp, "Unix starttime: %ld\n", walltime); | ~~^ ~~~~~~~~ | | | | | time_t {aka long long int} | long int | %lld LINK oscam.debug STRIP oscam >>> oscam: Entering fakeroot... >>> oscam-dbg*: Running split function dbg... >>> oscam-dbg*: Preparing subpackage oscam-dbg... >>> oscam-dbg*: Running postcheck for oscam-dbg >>> oscam-list-smargo*: Running split function list_smargo... >>> oscam-list-smargo*: Preparing subpackage oscam-list-smargo... >>> oscam-list-smargo*: Running postcheck for oscam-list-smargo >>> oscam-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/oscam/pkg/oscam-doc/usr/share/doc' 'usr/share/man' -> '/home/buildozer/aports/community/oscam/pkg/oscam-doc/usr/share/man' >>> oscam-doc*: Preparing subpackage oscam-doc... >>> oscam-doc*: Running postcheck for oscam-doc >>> oscam-openrc*: Running split function openrc... 'etc/conf.d' -> '/home/buildozer/aports/community/oscam/pkg/oscam-openrc/etc/conf.d' 'etc/init.d' -> '/home/buildozer/aports/community/oscam/pkg/oscam-openrc/etc/init.d' >>> oscam-openrc*: Preparing subpackage oscam-openrc... >>> oscam-openrc*: Running postcheck for oscam-openrc >>> oscam*: Running postcheck for oscam >>> oscam*: Preparing package oscam... >>> oscam*: Script found. /bin/sh added as a dependency for oscam-1.20_svn20201119-r4.apk >>> oscam*: Adding .pre-install >>> oscam-dbg*: Scanning shared objects >>> oscam-doc*: Scanning shared objects >>> oscam-list-smargo*: Scanning shared objects >>> oscam-openrc*: Scanning shared objects >>> oscam*: Scanning shared objects >>> oscam-dbg*: Tracing dependencies... so:libc.musl-x86.so.1 so:libcrypto.so.3 so:libpcsclite.so.1 so:libssl.so.3 so:libusb-1.0.so.0 >>> oscam-dbg*: Package size: 5.5 MB >>> oscam-dbg*: Compressing data... >>> oscam-dbg*: Create checksum... >>> oscam-dbg*: Create oscam-dbg-1.20_svn20201119-r4.apk >>> oscam-doc*: Tracing dependencies... >>> oscam-doc*: Package size: 163.4 KB >>> oscam-doc*: Compressing data... >>> oscam-doc*: Create checksum... >>> oscam-doc*: Create oscam-doc-1.20_svn20201119-r4.apk >>> oscam-list-smargo*: Tracing dependencies... so:libc.musl-x86.so.1 so:libusb-1.0.so.0 >>> oscam-list-smargo*: Package size: 24.6 KB >>> oscam-list-smargo*: Compressing data... >>> oscam-list-smargo*: Create checksum... >>> oscam-list-smargo*: Create oscam-list-smargo-1.20_svn20201119-r4.apk >>> oscam-openrc*: Tracing dependencies... >>> oscam-openrc*: Package size: 409.0 B >>> oscam-openrc*: Compressing data... >>> oscam-openrc*: Create checksum... >>> oscam-openrc*: Create oscam-openrc-1.20_svn20201119-r4.apk >>> oscam*: Tracing dependencies... /bin/sh so:libc.musl-x86.so.1 so:libcrypto.so.3 so:libpcsclite.so.1 so:libssl.so.3 so:libusb-1.0.so.0 >>> oscam*: Package size: 1.4 MB >>> oscam*: Compressing data... >>> oscam*: Create checksum... >>> oscam*: Create oscam-1.20_svn20201119-r4.apk >>> oscam: Build complete at Tue, 19 Nov 2024 15:46:15 +0000 elapsed time 0h 0m 11s >>> oscam: Cleaning up srcdir >>> oscam: Cleaning up pkgdir >>> oscam: Uninstalling dependencies... (1/20) Purging .makedepends-oscam (20241119.154605) (2/20) Purging subversion-openrc (1.14.4-r0) (3/20) Purging subversion (1.14.4-r0) (4/20) Purging linux-headers (6.6-r1) (5/20) Purging openssl-dev (3.3.2-r4) (6/20) Purging libusb-dev (1.0.27-r0) (7/20) Purging libusb (1.0.27-r0) (8/20) Purging pcsc-lite-dev (2.2.3-r1) (9/20) Purging eudev-dev (3.2.14-r5) (10/20) Purging eudev-libs (3.2.14-r5) (11/20) Purging pcsc-lite-libs (2.2.3-r1) (12/20) Purging pcsc-lite-spy-libs (2.2.3-r1) (13/20) Purging subversion-libs (1.14.4-r0) (14/20) Purging serf (1.3.10-r0) (15/20) Purging apr-util (1.6.3-r1) (16/20) Purging apr (1.7.5-r0) (17/20) Purging libsasl (2.1.28-r8) (18/20) Purging gdbm (1.24-r0) (19/20) Purging libuuid (2.40.2-r4) (20/20) Purging sqlite-libs (3.47.0-r0) Executing busybox-1.37.0-r7.trigger OK: 396 MiB in 100 packages >>> oscam: Updating the community/x86 repository index... >>> oscam: Signing the index...