[root@logan-0a kamailio]# make -C src/modules/outbound install
make: Entering directory '/root/kamailio/src/modules/outbound'
CC (gcc) [M outbound.so] config.o
CC (gcc) [M outbound.so] outbound_mod.o
outbound_mod.c: In function ‘mod_init’:
outbound_mod.c:112:25: warning: pointer targets in passing argument 1 of ‘SHA1’ differ in signedness [-Wpointer-sign]
SHA1(flow_token_secret.s, flow_token_secret.len, ob_key.s);
~~~~~~~~~~~~~~~~~^~
In file included from outbound_mod.c:28:
/usr/include/openssl/sha.h:44:16: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
^~~~
outbound_mod.c:112:58: warning: pointer targets in passing argument 3 of ‘SHA1’ differ in signedness [-Wpointer-sign]
SHA1(flow_token_secret.s, flow_token_secret.len, ob_key.s);
~~~~~~^~
In file included from outbound_mod.c:28:
/usr/include/openssl/sha.h:44:16: note: expected ‘unsigned char *’ but argument is of type ‘char *’
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
^~~~
LD (gcc) [M outbound.so] outbound.so
touch /usr/local/lib64/kamailio//modules/outbound.so
install -m 755 outbound.so /usr/local/lib64/kamailio//modules
make: Leaving directory '/root/kamailio/src/modules/outbound'
Build on CentOS 8 Stream
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.