Skip to content

11257 doesn't compile

module-webif-lib.c: In function 'SSL_Webif_Init': module-webif-lib.c:869:3: warning: implicit declaration of function 'TLSv1_2_server_method' [-Wimplicit-function-declaration] ctx = SSL_CTX_new(TLSv1_2_server_method()); ^ module-webif-lib.c:869:3: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [enabled by default] In file included from module-webif-lib.h:6:0, from module-webif-lib.c:7: /usr/src/oscam-svn/toolchains/openpli40/mipsel-openpli40-linux-gnu/sysroot/usr/include/openssl/ssl.h:1469:10: note: expected 'const struct SSL_METHOD *' but argument is of type 'int' SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ module-webif-lib.c:870:3: warning: implicit declaration of function 'SSL_CTX_set_ecdh_auto' [-Wimplicit-function-declaration] SSL_CTX_set_ecdh_auto(ctx, 1); ^ module-webif-lib.c:882:3: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [enabled by default] ctx = SSL_CTX_new(TLSv1_2_server_method()); ^ In file included from module-webif-lib.h:6:0, from module-webif-lib.c:7: /usr/src/oscam-svn/toolchains/openpli40/mipsel-openpli40-linux-gnu/sysroot/usr/include/openssl/ssl.h:1469:10: note: expected 'const struct SSL_METHOD *' but argument is of type 'int' SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ... LINK Distribution/oscam-1.20-unstable_svn11261_729-mips /tmp/cchcfltV.ltrans28.ltrans.o: In function http_server.lto_priv.241': cchcfltV.ltrans28.o:(.text+0x118c): undefined reference to SSL_CTX_set_ecdh_auto' cchcfltV.ltrans28.o:(.text+0x11cc): undefined reference to `SSL_CTX_set_ecdh_auto' collect2: error: ld returned 1 exit status

some other warnings:

In file included from csctapi/ifd_drecas.c:12:0: csctapi/ifd_db2com.h:9:28: warning: 'cardreader_db2com' defined but not used [-Wunused-variable] static struct s_cardreader cardreader_db2com; ^