Git Product home page Git Product logo

ncam's People

Contributors

fairbird avatar gfto avatar hains avatar mohamed19os avatar nautilus7 avatar ohmza avatar persianpros avatar wxbet avatar youchie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ncam's Issues

bug or feature in android-stapi platform

Hello. NCam android-stapi 13.5

ncam.conf:

[dvbapi]
enabled = 1
au = 1
pmt_mode = 5
request_mode = 1
delayer = 60
user = dvbapiau
wi_sosket_id = -1
extended_cw_api = 2
read_sdt=0

ncam.user:

[account]
user = dvbapiau
pwd = dvbapiau
keepalive = 1
au = 1
group = 1,2,3,4,5,6,7,8,9,10,64

If i change change pmt_mode=0,1,2,3,4 i see error il log and couldn't work a emu.
log:
2023-01-26 21:24:07 00000000 s (main) System name = Linux
2023-01-26 21:24:07 00000000 s (main) Host name = localhost
2023-01-26 21:24:07 00000000 s (main) Release = 3.18.24_hi3798mv2x
2023-01-26 21:24:07 00000000 s (main) Version = #1 SMP Fri Jun 26 23:23:47 KST 2020
2023-01-26 21:24:07 00000000 s (main) Machine = armv7l
2023-01-26 21:24:07 00000000 s (main) creating pidfile /tmp/.ncam/ncam.pid with pid 3334
2023-01-26 21:24:07 00000000 s (emu) NCam-emu version 798
2023-01-26 21:24:07 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2023-01-26 21:24:07 00000000 s (main) signal handling initialized
2023-01-26 21:24:07 00000000 s (config) 2 provid's loaded
2023-01-26 21:24:07 00000000 s (config) 2 service-id's loaded in 0 ms
2023-01-26 21:24:07 00000000 s (reader) Sharing [newcamd] creating thread for device server
2023-01-26 21:24:07 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
2023-01-26 21:24:07 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
2023-01-26 21:24:07 00000000 s (anticasc) anti cascading disabled
2023-01-26 21:24:07 00000000 s (gbox) local gbox failed init
2023-01-26 21:24:07 1B2C2857 p (newcamd) proxy server:13999 newcamd525 (fd=0)
2023-01-26 21:24:07 1B2C2857 p (reader) Sharing [newcamd] proxy initialized, server server:13999
2023-01-26 21:24:07 165CDDD0 c (client) plain dvbapi-client granted (root, au=off)
2023-01-26 21:24:07 165CDDD0 c (dvbapi) dvbapi channelcache loaded from /data/plugin/ncam/ncam.ccache
2023-01-26 21:24:07 165CDDD0 c (dvbstapi) Wi socket id: -1
2023-01-26 21:24:07 6C5EED9B h (webif) webif: decompressed 298097 bytes back into 691712 bytes
2023-01-26 21:24:07 6C5EED9B h (webif) HTTP Server running. ip=0.0.0.0 port=80
2023-01-26 21:24:07 165CDDD0 c (dvbstapi) liboscam_stapi v.1.0.0-user-api initialized
2023-01-26 21:24:07 165CDDD0 c (dvbapi) Detected /dev/stapi/stpti4_ioctl Api: 2, userconfig boxtype: 0 maximum number of filters is 32 (ncam limit is 64)
2023-01-26 21:24:07 165CDDD0 c (dvbapi) ERROR: Can't open device /dev/stapi/stpti4_ioctl (errno=2 No such file or directory)
2023-01-26 21:24:08 1B2C2857 p (reader) server: resolved ip=xxxxxxxxx
2023-01-26 21:24:08 1B2C2857 p (reader) Sharing [newcamd] connecting to server:13999
2023-01-26 21:24:08 1B2C2857 p (newcamd) Newcamd Server: server:13999 - UserID: 208
2023-01-26 21:24:08 1B2C2857 p (newcamd) CAID: 0500 - UA: 0000000000000000 - Provider # 1
2023-01-26 21:24:08 1B2C2857 p (newcamd) Provider ID: 060A00 - SA: 00000000

It's a android-stapi platform feature that we must use a pmt_mode = 5 or bug.

And ERROR: Can't open device /dev/stapi/stpti4_ioctl (errno=2 No such file or directory) - it's ok ?

Thank you

Add links to wiki

All links in webif that should point to the wiki are not working. Please readd or make own wiki

Build warnings with Debian 12

A few more build warnings i get when building with Debian 12:

RM	build/x86_64-linux-gnu-ssl-libcurl
RM	tests.bin
RM	tests.bin.debug
+-------------------------------------------------------------------------------
| NCam ver: Unofficial rev: gitd73e0f5 target: x86_64-linux-gnu-ssl-libcurl
| Tools:
|  CROSS    = 
|  CC       = gcc
| Settings:
|  CONF_DIR = /usr/local/etc
|  CC_OPTS  = -Os -ggdb -pipe -ffunction-sections -fdata-sections -funroll-loops -fomit-frame-pointer -fno-schedule-insns -fwrapv -fomit-frame-pointer -funroll-loops -fno-tree-vectorize
|  CC_WARN  = -W -Wall -Wshadow -Wno-shadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition -Wno-deprecated-declarations
|  CFLAGS   = -fexpensive-optimizations -mmmx -msse -msse2 -msse3 -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBCURL=1
|  LDFLAGS  = -Wl,--gc-sections -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBCURL=1
|  LIBS     = -lssl -lcrypto -lcurl -lm -lpthread -ldl -lrt
|  UseFlags = USE_SSL=1 USE_LIBCRYPTO=1 USE_LIBCURL=1
| Config:
|  Addons   : WEBIF WEBIF_LIVELOG WEBIF_JQUERY WITH_SSL HAVE_DVBAPI READ_SDT_CHARSETS IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CW_CYCLE_CHECK LCDSUPPORT CLOCKFIX IPV6SUPPORT WITH_EMU
|  Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST CONSTCW
|  Readers  : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG STREAMGUARD JET BULCRYPT GRIFFIN DGCRYPT
|  CardRdrs : PHOENIX
|  Compiler : gcc (Debian 12.2.0-14) 12.2.0
|  Config   : build/x86_64-linux-gnu-ssl-libcurl/config.mak
|  Binary   : /usr/local/src/ncam.git/Distribution/ncam
+-------------------------------------------------------------------------------
CC	cscrypt/des.c
CC	cscrypt/jet_twofish.c
CC	cscrypt/jet_dh.c
CC	cscrypt/i_cbc.c
CC	cscrypt/i_ecb.c
CC	cscrypt/i_skey.c
CC	cscrypt/md5.c
CC	cscrypt/rc6.c
CC	cscrypt/mdc2.c
CC	cscrypt/fast_aes.c
CC	cscrypt/sha256.c
CC	csctapi/atr.c
CC	csctapi/icc_async.c
CC	csctapi/io_serial.c
CC	csctapi/protocol_t0.c
CC	csctapi/protocol_t1.c
CC	csctapi/ifd_phoenix.c
CC	minilzo/minilzo.c
CC	module-anticasc.c
CC	module-camd35.c
CC	module-cccam.c
CC	module-cccshare.c
CC	module-constcw.c
CC	module-emulator.c
CC	module-emulator-nemu.c
CC	module-emulator-streamserver.c
In function ‘connect_to_stream’,
    inlined from ‘stream_client_handler’ at module-emulator-streamserver.c:1518:14:
module-emulator-streamserver.c:1332:33: warning: array subscript ‘struct sockaddr_in6[0]’ is partly outside array bounds of ‘struct sockaddr_in[1]’ [-Warray-bounds]
 1332 |         SIN_GET_ADDR(cservaddr) = in_addr;
module-emulator-streamserver.c: In function ‘stream_client_handler’:
module-emulator-streamserver.c:1320:28: note: object ‘cservaddr’ of size 16
 1320 |         struct sockaddr_in cservaddr;
      |                            ^~~~~~~~~
CC	module-emulator-biss.c
CC	module-emulator-cryptoworks.c
CC	module-emulator-director.c
module-emulator-director.c: In function ‘parse_emm_nano_tags’:
module-emulator-director.c:484:75: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘tagData + 16’ must not be NULL [-Waddress]
  484 |                                                 if ((tagData + 4 + 5 + 7) != 0x00) // check if key looks valid (last byte 0x00)
      |                                                                           ^~
CC	module-emulator-irdeto.c
CC	module-emulator-nagravision.c
CC	module-emulator-powervu.c
CC	module-emulator-icam.c
In file included from module-emulator-icam.c:4:
module-emulator-icam.c: In function ‘icam_connect_to_radegast’:
ncam-net.h:9:52: warning: array subscript ‘struct sockaddr_in6[0]’ is partly outside array bounds of ‘struct sockaddr_in[1]’ [-Warray-bounds]
    9 | #define SIN_GET_ADDR(a) ((struct sockaddr_in6 *)&a)->sin6_addr
      |                                                    ^~
module-emulator-icam.c:124:9: note: in expansion of macro ‘SIN_GET_ADDR’
  124 |         SIN_GET_ADDR(cservaddr) = cfg.rad_srvip;
      |         ^~~~~~~~~~~~
module-emulator-icam.c:108:28: note: object ‘cservaddr’ of size 16
  108 |         struct sockaddr_in cservaddr;
      |                            ^~~~~~~~~
CC	module-emulator-viaccess.c
CC	ffdecsa/ffdecsa.c
CC	module-cw-cycle-check.c
CC	module-dvbapi-chancache.c
CC	module-dvbapi.c
CC	module-gbox-helper.c
CC	module-gbox-sms.c
CC	module-gbox-remm.c
CC	module-gbox-cards.c
CC	module-gbox.c
CC	module-ird-guess.c
CC	module-lcd.c
CC	module-monitor.c
CC	module-newcamd.c
CC	module-newcamd-des.c
CC	module-radegast.c
CC	module-stat.c
CC	module-webif-lib.c
module-webif-lib.c: In function ‘send_file’:
module-webif-lib.c:494:33: warning: ‘snprintf’ argument 6 overlaps destination object ‘allocated’ [-Wrestrict]
  494 |                                 snprintf(allocated, newsize, "%s\n%s\n%s", CSS, separator, (oldallocated != NULL ? oldallocated : ""));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-webif-lib.c:415:46: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  415 |         char *mimetype = "", *result = " ", *allocated = NULL;
      |                                              ^~~~~~~~~
CC	module-webif-tpl.c
CC	module-webif.c
CC	webif/pages.c
CC	reader-common.c
CC	reader-bulcrypt.c
CC	reader-conax.c
CC	reader-cryptoworks.c
CC	reader-dgcrypt.c
CC	reader-dre.c
CC	reader-dre-cas.c
CC	reader-dre-common.c
CC	reader-dre-st20.c
CC	reader-griffin.c
CC	reader-irdeto.c
CC	reader-nagra-common.c
CC	reader-nagra.c
CC	reader-nagracak7.c
CC	reader-seca.c
CC	reader-tongfang.c
CC	reader-streamguard.c
CC	reader-jet.c
CC	reader-viaccess.c
CC	reader-videoguard-common.c
CC	reader-videoguard1.c
CC	reader-videoguard12.c
CC	reader-videoguard2.c
CC	ncam-aes.c
CC	ncam-array.c
CC	ncam-hashtable.c
CC	ncam-cache.c
CC	ncam-chk.c
CC	ncam-client.c
CC	ncam-conf.c
CC	ncam-conf-chk.c
CC	ncam-conf-mk.c
CC	ncam-config-account.c
CC	ncam-config-global.c
CC	ncam-config-reader.c
CC	ncam-config.c
CC	ncam-ecm.c
CC	ncam-emm.c
CC	ncam-emm-cache.c
CC	ncam-failban.c
CC	ncam-files.c
CC	ncam-garbage.c
CC	ncam-lock.c
CC	ncam-log.c
CC	ncam-log-reader.c
CC	ncam-net.c
CC	ncam-llist.c
CC	ncam-reader.c
CC	ncam-simples.c
CC	ncam-string.c
CC	ncam-time.c
CC	ncam-work.c
CC	ncam.c
CONF	build/x86_64-linux-gnu-ssl-libcurl/config.c
LINK	/usr/local/src/ncam.git/Distribution/ncam.debug
STRIP	/usr/local/src/ncam.git/Distribution/ncam

CCcam.cfg support to Oscam Patch by fairbird

Hi,
where can I find your "CCcam.cfg support to Oscam Patch by fairbird" patch? I would to compile it in Oscam myself.
Would be very nice if you can show me where I can find it.

Regards.

Reload ncam.fs

Can we have an option to reload ncam.fs every n hours please?
This would save having to reload all readers and do it externally with scripts.

Removed "dead" lines?

When the ncam.fs file is loaded and all of the readers are created, the dead readers automatically get removed. When this happens can we have the option to also remove the line from the ncam.fs file please?

Thanks,
Chris

Treat resolve errors as connection fails

Dead / broken lines get removed after x attempts. But if this happens can't resolve xxxxxxxxxx, error: Name does not resolve the server does not get removed, but I think it should.

NCam android-stapi bug in read_sdt

Hello. I use a NCam android-stapi 13.5

I check all configs from
Ncam-config_ Android-STAPI(BY_samur)-Only_15-10-2022.zip

ncam.conf:

[dvbapi]
enabled = 1
au = 1
pmt_mode = 5
request_mode = 1
delayer = 60
user = dvbapiau
wi_sosket_id = -1
extended_cw_api = 2
read_sdt=0

ncam.user:

[account]
user = dvbapiau
pwd = dvbapiau
keepalive = 1
au = 1
group = 1,2,3,4,5,6,7,8,9,10,64

But i need want see provider name I change default settings read_sdt=0 change to 1 or 2 (doesn't matter ). I reboot my receiver.
Couldn't starting a emu. I go tu pluging manager and see that ncam is stop. Push button start - but no starting a Emu! I need a change change hands in ncam.conf - read_sdt=1 to 0. Reboot receiver. And only after these plugin in starting and work. But i need a config =1.
Thank you!

Bugs in NCam 13.5 android-stapi

Version NCam: 13.5 Build: 05-12-2022 Compiler: armv7a-unknown-linux-android24-stapi-libcurl
I try others version: Marshmallow-6.0-stapi and oscam-11718-798-lite. also these bugs

*.conf
[dvbapi]

  1. if i change "boxtype" from none to dreambox - stops showing!

[log]
2023-01-26 21:15:53 165CDDD0 c (dvbapi) Received unknown or unsupported CA PMT command ID 56 from host
2023-01-26 21:15:53 165CDDD0 c (dvbapi) Demuxer 0 stopped descrambling for program 0386
2023-01-26 21:15:54 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0500 ECM_PID: 1006 PROVID: 040610
2023-01-26 21:15:54 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 0500 ECM_PID: 1452 PROVID: 050A00
2023-01-26 21:15:54 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 0500 ECM_PID: 1772 PROVID: 060A00
2023-01-26 21:15:54 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 3 CAID: 0500 ECM_PID: 183A PROVID: 060C00
2023-01-26 21:15:54 165CDDD0 c (dvbapi) Demuxer 0 found 4 ECM pids and 3 STREAM pids in CA PMT
2023-01-26 21:15:54 165CDDD0 c (dvbapi) Received unknown or unsupported CA PMT command ID 56 from host
2023-01-26 21:15:54 165CDDD0 c (dvbapi) Demuxer 0 stopped descrambling for program 0386
2023-01-26 21:15:55 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0500 ECM_PID: 1006 PROVID: 040610
2023-01-26 21:15:55 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 0500 ECM_PID: 1452 PROVID: 050A00
2023-01-26 21:15:55 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 0500 ECM_PID: 1772 PROVID: 060A00
2023-01-26 21:15:55 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 3 CAID: 0500 ECM_PID: 183A PROVID: 060C00
2023-01-26 21:15:55 165CDDD0 c (dvbapi) Demuxer 0 found 4 ECM pids and 3 STREAM pids in CA PMT
2023-01-26 21:15:55 165CDDD0 c (dvbapi) Received unknown or unsupported CA PMT command ID 56 from host
2023-01-26 21:15:55 165CDDD0 c (dvbapi) Demuxer 0 stopped descrambling for program 0386
2023-01-26 21:15:56 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 0500 ECM_PID: 1006 PROVID: 040610
2023-01-26 21:15:56 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 0500 ECM_PID: 1452 PROVID: 050A00
2023-01-26 21:15:56 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 0500 ECM_PID: 1772 PROVID: 060A00
2023-01-26 21:15:56 165CDDD0 c (dvbapi) Demuxer 0 ecmpid 3 CAID: 0500 ECM_PID: 183A PROVID: 060C00
2023-01-26 21:15:56 165CDDD0 c (dvbapi) Demuxer 0 found 4 ECM pids and 3 STREAM pids in CA PMT

  1. "pmt_mode" 5 change to 1 stops showing!
    [log]
    2023-01-26 21:24:07 00000000 s (main) System name = Linux
    2023-01-26 21:24:07 00000000 s (main) Host name = localhost
    2023-01-26 21:24:07 00000000 s (main) Release = 3.18.24_hi3798mv2x
    2023-01-26 21:24:07 00000000 s (main) Version = #1 SMP Fri Jun 26 23:23:47 KST 2020
    2023-01-26 21:24:07 00000000 s (main) Machine = armv7l
    2023-01-26 21:24:07 00000000 s (main) creating pidfile /tmp/.ncam/ncam.pid with pid 3334
    2023-01-26 21:24:07 00000000 s (emu) NCam-emu version 798
    2023-01-26 21:24:07 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2023-01-26 21:24:07 00000000 s (main) signal handling initialized
    2023-01-26 21:24:07 00000000 s (config) 2 provid's loaded
    2023-01-26 21:24:07 00000000 s (config) 2 service-id's loaded in 0 ms
    2023-01-26 21:24:07 00000000 s (reader) Sharing [newcamd] creating thread for device server
    2023-01-26 21:24:07 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
    2023-01-26 21:24:07 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
    2023-01-26 21:24:07 00000000 s (anticasc) anti cascading disabled
    2023-01-26 21:24:07 00000000 s (gbox) local gbox failed init
    2023-01-26 21:24:07 1B2C2857 p (newcamd) proxy server:13999 newcamd525 (fd=0)
    2023-01-26 21:24:07 1B2C2857 p (reader) Sharing [newcamd] proxy initialized, server server:13999
    2023-01-26 21:24:07 165CDDD0 c (client) plain dvbapi-client granted (root, au=off)
    2023-01-26 21:24:07 165CDDD0 c (dvbapi) dvbapi channelcache loaded from /data/plugin/ncam/ncam.ccache
    2023-01-26 21:24:07 165CDDD0 c (dvbstapi) Wi socket id: -1
    2023-01-26 21:24:07 6C5EED9B h (webif) webif: decompressed 298097 bytes back into 691712 bytes
    2023-01-26 21:24:07 6C5EED9B h (webif) HTTP Server running. ip=0.0.0.0 port=80
    2023-01-26 21:24:07 165CDDD0 c (dvbstapi) liboscam_stapi v.1.0.0-user-api initialized
    2023-01-26 21:24:07 165CDDD0 c (dvbapi) Detected /dev/stapi/stpti4_ioctl Api: 2, userconfig boxtype: 0 maximum number of filters is 32 (ncam limit is 64)
    2023-01-26 21:24:07 165CDDD0 c (dvbapi) ERROR: Can't open device /dev/stapi/stpti4_ioctl (errno=2 No such file or directory)
    2023-01-26 21:24:08 1B2C2857 p (reader) server: resolved ip=xxxxxxxxx
    2023-01-26 21:24:08 1B2C2857 p (reader) Sharing [newcamd] connecting to server:13999
    2023-01-26 21:24:08 1B2C2857 p (newcamd) Newcamd Server: server:13999 - UserID: 208
    2023-01-26 21:24:08 1B2C2857 p (newcamd) CAID: 0500 - UA: 0000000000000000 - Provider # 1
    2023-01-26 21:24:08 1B2C2857 p (newcamd) Provider ID: 060A00 - SA: 00000000

  2. When "read_sdt" default 0 change to 1 or 2. Emulator stoping and no longer starts with 2. change hands in the config to 0 and starts to start

Thank you so much!

Try to read from inet before bindwait is over

2022/08/16 15:03:11 00000000 s    (files) libcurl: (6) Could not resolve host: ###
2022/08/16 15:03:11 00000000 s        (-) -- Skipped 2 duplicated log lines --
2022/08/16 15:03:11 00000000 s    (files) libcurl: (6) Could not resolve host: ###
2022/08/16 15:03:11 00000000 s   (config) ncam.fs read lines: C:0 N:0 L:0 R:0

After systemrestart and ncamstart the ncam does not respect the setting "BindWait" so it can not acceess the web...

Edit: I think ncam should ait for webaccess at least the bindwait time or a fixed time or until it detects that the network is up.
Also it should retry afte a certain amount of time iw inet access fails

[Build Debian12] warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0

Building in Debian 12 throws a lot of:
warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0

RM	build/x86_64-linux-gnu-ssl-libcurl
RM	tests.bin
RM	tests.bin.debug
+-------------------------------------------------------------------------------
| NCam ver: Unofficial rev: git308007c target: x86_64-linux-gnu-ssl-libcurl
| Tools:
|  CROSS    = 
|  CC       = gcc
| Settings:
|  CONF_DIR = /usr/local/etc
|  CC_OPTS  = -Os -ggdb -pipe -ffunction-sections -fdata-sections -funroll-loops -fomit-frame-pointer -fno-schedule-insns -fwrapv -fomit-frame-pointer -funroll-loops -fno-tree-vectorize
|  CC_WARN  = -W -Wall -Wshadow -Wno-shadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
|  CFLAGS   = -fexpensive-optimizations -mmmx -msse -msse2 -msse3 -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBCURL=1
|  LDFLAGS  = -Wl,--gc-sections -DWITH_SSL=1 -DWITH_LIBCRYPTO=1 -DWITH_LIBCURL=1
|  LIBS     = -lssl -lcrypto -lcurl -lm -lpthread -ldl -lrt
|  UseFlags = USE_SSL=1 USE_LIBCRYPTO=1 USE_LIBCURL=1
| Config:
|  Addons   : WEBIF WEBIF_LIVELOG WEBIF_JQUERY WITH_SSL HAVE_DVBAPI READ_SDT_CHARSETS IRDETO_GUESSING CS_ANTICASC WITH_DEBUG MODULE_MONITOR WITH_LB CW_CYCLE_CHECK LCDSUPPORT CLOCKFIX IPV6SUPPORT WITH_EMU
|  Protocols: CAMD35 CAMD35_TCP NEWCAMD CCCAM CCCSHARE GBOX RADEGAST CONSTCW
|  Readers  : NAGRA NAGRA_MERLIN IRDETO CONAX CRYPTOWORKS SECA VIACCESS VIDEOGUARD DRE TONGFANG STREAMGUARD JET BULCRYPT GRIFFIN DGCRYPT
|  CardRdrs : PHOENIX
|  Compiler : gcc (Debian 12.2.0-14) 12.2.0
|  Config   : build/x86_64-linux-gnu-ssl-libcurl/config.mak
|  Binary   : /usr/local/src/ncam.git/Distribution/ncam
+-------------------------------------------------------------------------------
CC	cscrypt/des.c
CC	cscrypt/jet_twofish.c
CC	cscrypt/jet_dh.c
CC	cscrypt/i_cbc.c
CC	cscrypt/i_ecb.c
CC	cscrypt/i_skey.c
CC	cscrypt/md5.c
cscrypt/md5.c: In function ‘__md5_crypt’:
cscrypt/md5.c:320:9: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  320 |         MD5_Init(&ctx);
      |         ^~~~~~~~
In file included from cscrypt/md5.h:5,
                 from cscrypt/md5.c:24:
/usr/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
cscrypt/md5.c:324:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  324 |         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:327:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  327 |         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:330:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  330 |         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:333:9: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  333 |         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:334:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  334 |         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:335:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  335 |         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:336:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  336 |         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:337:9: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  337 |         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:339:17: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  339 |                 { 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:347:17: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  347 |                 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:355:9: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  355 |         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:364:17: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  364 |                 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:366:25: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  366 |                         { 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:368:25: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  368 |                         { 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:371:25: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  371 |                         { 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:374:25: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  374 |                         { 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:377:25: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  377 |                         { 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:379:25: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  379 |                         { 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:380:17: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  380 |                 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);
      |                           ^~~~~~~~~
CC	cscrypt/rc6.c
CC	cscrypt/mdc2.c
cscrypt/mdc2.c: In function ‘mdc2_body’:
cscrypt/mdc2.c:634:17: warning: ‘DES_set_odd_parity’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  634 |                 DES_set_odd_parity(&c->h);
      |                 ^~~~~~~~~~~~~~~~~~
In file included from cscrypt/mdc2.h:63,
                 from cscrypt/mdc2.c:3:
/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:635:17: warning: ‘DES_set_key_unchecked’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  635 |                 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:636:17: warning: ‘DES_encrypt1’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  636 |                 DES_encrypt1(d, &k, 1);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/des.h:121:6: note: declared here
  121 | void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc);
      |      ^~~~~~~~~~~~
cscrypt/mdc2.c:638:17: warning: ‘DES_set_odd_parity’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  638 |                 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:639:17: warning: ‘DES_set_key_unchecked’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  639 |                 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);
      |      ^~~~~~~~~~~~~~~~~~~~~
cscrypt/mdc2.c:640:17: warning: ‘DES_encrypt1’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  640 |                 DES_encrypt1(dd, &k, 1);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/des.h:121:6: note: declared here
  121 | void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc);
      |      ^~~~~~~~~~~~
CC	cscrypt/fast_aes.c
CC	cscrypt/sha256.c
CC	csctapi/atr.c
CC	csctapi/icc_async.c
CC	csctapi/io_serial.c
CC	csctapi/protocol_t0.c
CC	csctapi/protocol_t1.c
CC	csctapi/ifd_phoenix.c
CC	minilzo/minilzo.c
CC	module-anticasc.c
CC	module-camd35.c
module-camd35.c: In function ‘camd35_auth_client’:
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-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-camd35.c: In function ‘camd35_client_init’:
module-camd35.c:867:9: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  867 |         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-camd35.c:869:9: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  869 |         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,
      |                                      ^~~
CC	module-cccam.c
module-cccam.c: In function ‘cc_crypt_cmd0c’:
module-cccam.c:281:33: warning: ‘AES_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  281 |                                 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:121,
                 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-cccam.c: In function ‘set_cmd0c_cryptkey’:
module-cccam.c:351:25: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  351 |                         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,
      |     ^~~~~~~~~~~~~~~~~~~
module-cccam.c: In function ‘send_cmd05_answer’:
module-cccam.c:1229:41: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1229 |                                         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:1234:49: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1234 |                                                 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-cccam.c: In function ‘cc_parse_msg’:
module-cccam.c:3754:25: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3754 |                         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:3755:25: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3755 |                         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:3794:33: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3794 |                                 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:4318:9: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4318 |         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:4319:9: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4319 |         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:4320:9: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4320 |         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-cccam.c: In function ‘cc_cli_connect’:
module-cccam.c:4776:9: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4776 |         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:4777:9: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4777 |         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:4778:9: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4778 |         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);
      |                           ^~~~~~~~~~
CC	module-cccshare.c
CC	module-constcw.c
CC	module-emulator.c
CC	module-emulator-nemu.c
CC	module-emulator-streamserver.c
In function ‘connect_to_stream’,
    inlined from ‘stream_client_handler’ at module-emulator-streamserver.c:1518:14:
module-emulator-streamserver.c:1332:33: warning: array subscript ‘struct sockaddr_in6[0]’ is partly outside array bounds of ‘struct sockaddr_in[1]’ [-Warray-bounds]
 1332 |         SIN_GET_ADDR(cservaddr) = in_addr;
module-emulator-streamserver.c: In function ‘stream_client_handler’:
module-emulator-streamserver.c:1320:28: note: object ‘cservaddr’ of size 16
 1320 |         struct sockaddr_in cservaddr;
      |                            ^~~~~~~~~
CC	module-emulator-biss.c
module-emulator-biss.c: In function ‘parse_session_data’:
module-emulator-biss.c:669:9: warning: ‘RSA_private_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  669 |         if (RSA_private_decrypt(256, data, session_data, key, RSA_PKCS1_OAEP_PADDING) > 0)
      |         ^~
In file included from module-emulator-biss.h:7,
                 from module-emulator-biss.c:8:
/usr/include/openssl/rsa.h:291:5: note: declared here
  291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
module-emulator-biss.c: In function ‘biss_read_pem’:
module-emulator-biss.c:827:17: warning: ‘PEM_read_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  827 |                 if ((new_item->key = PEM_read_RSAPrivateKey(fp_pri, NULL, NULL, NULL)) == NULL)
      |                 ^~
In file included from module-emulator-biss.c:13:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
module-emulator-biss.c:852:17: warning: ‘i2d_RSA_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  852 |                 if ((length = i2d_RSA_PUBKEY(new_item->key, &der)) <= 0)
      |                 ^~
In file included from /usr/include/openssl/rsa.h:21:
/usr/include/openssl/x509.h:710:1: note: declared here
  710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC	module-emulator-cryptoworks.c
CC	module-emulator-director.c
module-emulator-director.c: In function ‘parse_emm_nano_tags’:
module-emulator-director.c:484:75: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘tagData + 16’ must not be NULL [-Waddress]
  484 |                                                 if ((tagData + 4 + 5 + 7) != 0x00) // check if key looks valid (last byte 0x00)
      |                                                                           ^~
CC	module-emulator-irdeto.c
CC	module-emulator-nagravision.c
CC	module-emulator-powervu.c
CC	module-emulator-icam.c
In file included from module-emulator-icam.c:4:
module-emulator-icam.c: In function ‘icam_connect_to_radegast’:
ncam-net.h:9:52: warning: array subscript ‘struct sockaddr_in6[0]’ is partly outside array bounds of ‘struct sockaddr_in[1]’ [-Warray-bounds]
    9 | #define SIN_GET_ADDR(a) ((struct sockaddr_in6 *)&a)->sin6_addr
      |                                                    ^~
module-emulator-icam.c:124:9: note: in expansion of macro ‘SIN_GET_ADDR’
  124 |         SIN_GET_ADDR(cservaddr) = cfg.rad_srvip;
      |         ^~~~~~~~~~~~
module-emulator-icam.c:108:28: note: object ‘cservaddr’ of size 16
  108 |         struct sockaddr_in cservaddr;
      |                            ^~~~~~~~~
CC	module-emulator-viaccess.c
CC	ffdecsa/ffdecsa.c
CC	module-cw-cycle-check.c
CC	module-dvbapi-chancache.c
CC	module-dvbapi.c
module-dvbapi.c: In function ‘request_cw’:
module-dvbapi.c:4147:17: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4147 |                 MD5(er->ecm, er->ecmlen, md5tmp);
      |                 ^~~
In file included from cscrypt/md5.h:5,
                 from module-dvbapi.c:29:
/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 ‘dvbapi_check_ecm_delayed_delivery’:
module-dvbapi.c:8930:17: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 8930 |                 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,
      |                                      ^~~
CC	module-gbox-helper.c
CC	module-gbox-sms.c
CC	module-gbox-remm.c
CC	module-gbox-cards.c
CC	module-gbox.c
CC	module-ird-guess.c
CC	module-lcd.c
CC	module-monitor.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,
      |                                      ^~~
CC	module-newcamd.c
CC	module-newcamd-des.c
CC	module-radegast.c
CC	module-stat.c
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	module-webif-lib.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,
      |                                      ^~~
module-webif-lib.c: In function ‘send_file’:
module-webif-lib.c:494:33: warning: ‘snprintf’ argument 6 overlaps destination object ‘allocated’ [-Wrestrict]
  494 |                                 snprintf(allocated, newsize, "%s\n%s\n%s", CSS, separator, (oldallocated != NULL ? oldallocated : ""));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-webif-lib.c:415:46: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  415 |         char *mimetype = "", *result = " ", *allocated = NULL;
      |                                              ^~~~~~~~~
CC	module-webif-tpl.c
CC	module-webif.c
module-webif.c: In function ‘send_ncam_reader’:
module-webif.c:2031:25: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2031 |                         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,
      |                                      ^~~
module-webif.c: In function ‘send_ncam_user_config’:
module-webif.c:4862:17: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4862 |                 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	webif/pages.c
CC	reader-common.c
CC	reader-bulcrypt.c
CC	reader-conax.c
CC	reader-cryptoworks.c
CC	reader-dgcrypt.c
CC	reader-dre.c
CC	reader-dre-cas.c
CC	reader-dre-common.c
CC	reader-dre-st20.c
CC	reader-griffin.c
CC	reader-irdeto.c
CC	reader-nagra-common.c
CC	reader-nagra.c
CC	reader-nagracak7.c
CC	reader-seca.c
CC	reader-tongfang.c
CC	reader-streamguard.c
reader-streamguard.c: In function ‘decrypt_cw_ex’:
reader-streamguard.c:60:9: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   60 |         MD5(keybuf, 22, md5tmp);
      |         ^~~
In file included from cscrypt/md5.h:5,
                 from reader-streamguard.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,
      |                                      ^~~
reader-streamguard.c:66:9: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   66 |         MD5(md5tmp, 20, md5key);
      |         ^~~
/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-streamguard.c: In function ‘streamguard_card_init’:
reader-streamguard.c:203:17: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  203 |                 MD5(seed, sizeof(seed), md5_key);
      |                 ^~~
/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-jet.c
CC	reader-viaccess.c
CC	reader-videoguard-common.c
reader-videoguard-common.c: In function ‘cAES_SetKey’:
reader-videoguard-common.c:347:9: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  347 |         AES_set_encrypt_key(key, 128, &(csystem_data->ekey));
      |         ^~~~~~~~~~~~~~~~~~~
In file included from cscrypt/aes.h:2,
                 from globals.h:121,
                 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:355:9: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  355 |         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,
      |      ^~~~~~~~~~~
CC	reader-videoguard1.c
CC	reader-videoguard12.c
CC	reader-videoguard2.c
reader-videoguard2.c: In function ‘do_post_dw_hash’:
reader-videoguard2.c:232:41: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  232 |                                         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:1169:9: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1169 |         AES_set_decrypt_key(dimeno_magic, 128, &(csystem_data->astrokey));
      |         ^~~~~~~~~~~~~~~~~~~
In file included from cscrypt/aes.h:2,
                 from globals.h:121,
                 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:1384:65: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1384 |                                                                 AES_set_decrypt_key(keybuf, 128, &aeskey);
      |                                                                 ^~~~~~~~~~~~~~~~~~~
/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:1385:65: warning: ‘AES_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1385 |                                                                 AES_decrypt(aesbuf, aesbuf, &aeskey);
      |                                                                 ^~~~~~~~~~~
/usr/include/openssl/aes.h:60:6: note: declared here
   60 | void AES_decrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
reader-videoguard2.c:1441:65: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1441 |                                                                 AES_set_decrypt_key(keybuf, 128, &aeskey);
      |                                                                 ^~~~~~~~~~~~~~~~~~~
/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:1442:65: warning: ‘AES_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1442 |                                                                 AES_decrypt(aesbuf, aesbuf, &aeskey);
      |                                                                 ^~~~~~~~~~~
/usr/include/openssl/aes.h:60:6: note: declared here
   60 | void AES_decrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
reader-videoguard2.c:1502:33: warning: ‘AES_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1502 |                                 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	ncam-aes.c
ncam-aes.c: In function ‘aes_set_key’:
ncam-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:121,
                 from ncam-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,
      |     ^~~~~~~~~~~~~~~~~~~
ncam-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,
      |     ^~~~~~~~~~~~~~~~~~~
ncam-aes.c: In function ‘aes_decrypt’:
ncam-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,
      |      ^~~~~~~~~~~
ncam-aes.c: In function ‘aes_encrypt_idx’:
ncam-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,
      |      ^~~~~~~~~~~
ncam-aes.c: In function ‘aes_cbc_encrypt’:
ncam-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,
      |      ^~~~~~~~~~~~~~~
ncam-aes.c: In function ‘aes_cbc_decrypt’:
ncam-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,
      |      ^~~~~~~~~~~~~~~
ncam-aes.c: In function ‘add_aes_entry’:
ncam-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,
      |     ^~~~~~~~~~~~~~~~~~~
ncam-aes.c: In function ‘aes_decrypt_from_list’:
ncam-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,
      |      ^~~~~~~~~~~
CC	ncam-array.c
CC	ncam-hashtable.c
CC	ncam-cache.c
CC	ncam-chk.c
CC	ncam-client.c
ncam-client.c: In function ‘cs_auth_client’:
ncam-client.c:445:41: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  445 |                                         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 ncam-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,
      |                                      ^~~
ncam-client.c: In function ‘cs_reinit_clients’:
ncam-client.c:606:25: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  606 |                         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	ncam-conf.c
CC	ncam-conf-chk.c
CC	ncam-conf-mk.c
CC	ncam-config-account.c
CC	ncam-config-global.c
CC	ncam-config-reader.c
CC	ncam-config.c
CC	ncam-ecm.c
ncam-ecm.c: In function ‘get_cw’:
ncam-ecm.c:2775:9: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2775 |         memcpy(er->ecmd5, MD5(er->ecm + offset, er->ecmlen - offset, md5tmp), CS_ECMSTORESIZE);
      |         ^~~~~~
In file included from cscrypt/md5.h:5,
                 from ncam-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	ncam-emm.c
ncam-emm.c: In function ‘do_emm’:
ncam-emm.c:600:25: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  600 |                         MD5(ep->emm, SCT_LEN(ep->emm), md5tmp);
      |                         ^~~
In file included from cscrypt/md5.h:5,
                 from ncam-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,
      |                                      ^~~
ncam-emm.c: In function ‘reader_do_emm’:
ncam-emm.c:668:17: warning: ‘MD5’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  668 |                 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	ncam-emm-cache.c
CC	ncam-failban.c
CC	ncam-files.c
CC	ncam-garbage.c
CC	ncam-lock.c
CC	ncam-log.c
CC	ncam-log-reader.c
CC	ncam-net.c
CC	ncam-llist.c
CC	ncam-reader.c
CC	ncam-simples.c
CC	ncam-string.c
CC	ncam-time.c
CC	ncam-work.c
CC	ncam.c
ncam.c: In function ‘ssl_init’:
ncam.c:57:9: warning: ‘ERR_load_BIO_strings’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   57 |         ERR_load_BIO_strings();
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/cryptoerr.h:17,
                 from /usr/include/openssl/crypto.h:38,
                 from ncam.c:50:
/usr/include/openssl/cryptoerr_legacy.h:31:27: note: declared here
   31 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void);
      |                           ^~~~~~~~~~~~~~~~~~~~
ncam.c:58:9: warning: ‘ERR_load_SSL_strings’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   58 |         ERR_load_SSL_strings();
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/sslerr.h:17,
                 from /usr/include/openssl/ssl.h:43,
                 from ncam.c:51:
/usr/include/openssl/sslerr_legacy.h:29:27: note: declared here
   29 | OSSL_DEPRECATEDIN_3_0 int ERR_load_SSL_strings(void);
      |                           ^~~~~~~~~~~~~~~~~~~~
CONF	build/x86_64-linux-gnu-ssl-libcurl/config.c
LINK	/usr/local/src/ncam.git/Distribution/ncam.debug
STRIP	/usr/local/src/ncam.git/Distribution/ncam

Module Stream Relay

Hi @fairbird,
I think the new Stream Relay Module in oscam trunk could be interesting for your project here. It reduces CPU load on older Receiver (400 MHz class) between 10-20%. It is possible to send you the original patch without the cak7 stuff. If you have any questions, feel free to contact me.
Regards @WXbet

ncam crashes when using wrong libdvbcsa shared library

You need to implement something like this to prevent crashing and show infos about wrong libdvbcsa in startlog:

#include <dlfcn.h>

int32_t* has_dvbcsa_ecm = 0;
has_dvbcsa_ecm = dlsym(RTLD_DEFAULT, "dvbcsa_bs_key_set_ecm");

cs_log("INFO: %s dvbcsa parallel mode = %d (relay buffer time: %d ms)", (!has_dvbcsa_ecm) ? "(wrong)" : "(ecm)" , cluster_size, cfg.stream_relay_buffer_time);

if (has_dvbcsa_ecm)
{
dvbcsa_bs_key_set(...);
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.