>>> openswan 3.0.0 Extracting gzip -d -c /home/buildroot/instance-0/dl/openswan/openswan-3.0.0.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/openswan-3.0.0 -xf - >>> openswan 3.0.0 Patching Applying 0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch using patch: patching file lib/libopenswan/constants.c >>> openswan 3.0.0 Configuring >>> openswan 3.0.0 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j1 -C /home/buildroot/instance-0/output-1/build/openswan-3.0.0 ARCH="riscv32" CC="/home/buildroot/instance-0/output-1/host/bin/riscv32-linux-gcc" POD2MAN="" XMLTO="" USERCOMPILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -fPIE" USERLINK=" -fPIE" INC_USRLOCAL=/usr USE_KLIPS=false USE_MAST=false USE_NM=false USE_NOMANINSTALL=true WERROR="" HAVE_OPENSSL=true programs make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0' Setting up for OBJDIR=OBJ.linux.riscv32 OBJDIR: OBJ.linux.riscv32 (cd /home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32 && OBJDIRTOP=/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32 OBJDIR=/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32 /usr/bin/make programs ) make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libopenswan' CC addrtoa.c CC addrtot.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c: In function 'addrtot': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c:124:17: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 124 | strcpy(dst, p); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c:79:15: note: 'p' declared here 79 | char *p; | ^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c: In function 'inet_addrtot': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c:183:17: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 183 | strcpy(dst, p); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c:142:15: note: 'p' declared here 142 | char *p; | ^ CC addrtypeof.c CC anyaddr.c CC atoaddr.c CC atoasr.c CC atosubnet.c CC atoul.c CC constants.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c: In function 'bitnamesofb.part.0': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c:1646:55: warning: '%llx' directive output may be truncated writing between 1 and 16 bytes into a region of size 9 [-Wformat-truncation=] 1646 | snprintf(flagbuf, sizeof(flagbuf), "0x%llx", bit); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c:1646:52: note: directive argument in the range [1, 18446744073709551615] 1646 | snprintf(flagbuf, sizeof(flagbuf), "0x%llx", bit); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/stdio.h:980, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c:25: In function 'snprintf', inlined from 'bitnamesofb.part.0' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c:1646:3: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 4 and 19 bytes into a destination of size 11 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC copyright.c CC datatot.c CC alloc.c CC biglset.c CC diag.c CC familytot.c CC goodmask.c CC id.c CC initaddr.c CC initsaid.c CC initsubnet.c CC iprange.c CC keyblobtoid.c CC lex.c CC mpzfuncs.c CC optionsfrom.c CC oswconf.c CC oswtime.c CC oswid.c CC prng.c CC portof.c CC rangetoa.c CC rangetosubnet.c CC sameaddr.c CC satot.c CC secrets.c CC strlcat.c CC subnetof.c CC subnettoa.c CC subnettot.c CC subnettypeof.c CC ttoaddr.c CC ttodata.c CC ttoprotoport.c CC ttosa.c CC ttosubnet.c CC ttoul.c CC ultoa.c CC ultot.c CC sanitizestring.c CC pfkey_print.c CC pfkey_sock.c CC pfkey_error.c CC pfkey_v2_build.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/pfkey_v2_build.c:75:40: warning: argument 1 of type 'struct sadb_ext *[33]' with mismatched bound [-Warray-parameter=] 75 | pfkey_extensions_init(struct sadb_ext *extensions[K_SADB_EXT_MAX + 1]) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/pfkey_v2_build.c:60: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/openswan/pfkey.h:216:52: note: previously declared as 'struct sadb_ext *[]' 216 | extern void pfkey_extensions_init(struct sadb_ext *extensions[]); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/pfkey_v2_build.c:85:40: warning: argument 1 of type 'struct sadb_ext *[33]' with mismatched bound [-Warray-parameter=] 85 | pfkey_extensions_free(struct sadb_ext *extensions[K_SADB_EXT_MAX + 1]) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/openswan/pfkey.h:217:52: note: previously declared as 'struct sadb_ext *[]' 217 | extern void pfkey_extensions_free(struct sadb_ext *extensions[]); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ CC pfkey_v2_ext_bits.c CC pfkey_v2_parse.c CC pfkey_v2_debug.c VERSION processing 3.0.0 CC version.c AR libopenswan.a a - addrtoa.o a - addrtot.o a - addrtypeof.o a - anyaddr.o a - atoaddr.o a - atoasr.o a - atosubnet.o a - atoul.o a - constants.o a - copyright.o a - datatot.o a - alloc.o a - biglset.o a - diag.o a - familytot.o a - goodmask.o a - id.o a - initaddr.o a - initsaid.o a - initsubnet.o a - iprange.o a - keyblobtoid.o a - lex.o a - mpzfuncs.o a - optionsfrom.o a - oswconf.o a - oswtime.o a - oswid.o a - prng.o a - portof.o a - rangetoa.o a - rangetosubnet.o a - sameaddr.o a - satot.o a - secrets.o a - strlcat.o a - subnetof.o a - subnettoa.o a - subnettot.o a - subnettypeof.o a - ttoaddr.o a - ttodata.o a - ttoprotoport.o a - ttosa.o a - ttosubnet.o a - ttoul.o a - ultoa.o a - ultot.o a - sanitizestring.o a - pfkey_print.o a - pfkey_sock.o a - pfkey_error.o a - pfkey_v2_build.o a - pfkey_v2_ext_bits.o a - pfkey_v2_parse.o a - pfkey_v2_debug.o a - version.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libopenswan' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libalgoparse' /bin/bash: line 1: test: 13.2.0: integer expression expected CC alg_info.c CC plutoalg.c CC ipsecalg.c CC kernel_alg.c CC klips_interface.c AR libalgoparse.a a - alg_info.o a - plutoalg.o a - ipsecalg.o a - kernel_alg.o a - klips_interface.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libalgoparse' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libpluto' /bin/bash: line 1: test: 13.2.0: integer expression expected CC defs.c CC db_ops.c CC db2_ops.c CC ai2db.c CC spdb_print.c CC pluto_constants.c CC x509support.c CC packet.c CC readwhackmsg.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/readwhackmsg.c: In function 'readwhackmsg': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/readwhackmsg.c:74:40: warning: bitwise comparison always evaluates to true [-Wtautological-compare] 74 | if((m1.magic & 0x80000000) != WHACK_MAGIC_INTVALUE) { | ^~ CC rnd.c CC rndchunk.c CC writewhackmsg.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/writewhackmsg.c: In function 'openwhackrecordfile': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/writewhackmsg.c:119:5: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 119 | strncpy(whackrecordname, file, sizeof(whackrecordname)); | ^ CC orient.c CC spd_format.c CC endclienttot.c CC setproctitle.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/setproctitle.c: In function 'setproctitle': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/setproctitle.c:63:29: warning: '%s' directive writing up to 2043 bytes into a region of size between 1 and 2044 [-Wformat-overflow=] 63 | sprintf(buf, "%s -- %s", prog, txt); | ^~ In file included from /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/stdio.h:980, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/setproctitle.c:6: In function 'sprintf', inlined from 'setproctitle' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/setproctitle.c:63:2: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 4091 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC iface.c AR libpluto.a a - defs.o a - db_ops.o a - db2_ops.o a - ai2db.o a - spdb_print.o a - pluto_constants.o a - x509support.o a - packet.o a - readwhackmsg.o a - rnd.o a - rndchunk.o a - writewhackmsg.o a - orient.o a - spd_format.o a - endclienttot.o a - setproctitle.o a - iface.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libpluto' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libaes' /bin/bash: line 1: test: 13.2.0: integer expression expected CC aes_xcbc_mac.c CC aes_cbc.c CC ike_alg_aes.c CC aes.c AR libaes.a a - aes_xcbc_mac.o a - aes_cbc.o a - ike_alg_aes.o a - aes.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libaes' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libdes' /bin/bash: line 1: test: 13.2.0: integer expression expected CC des_enc.c CC cbc_enc.c CC set_key.c CC ecb_enc.c CC fcrypt_b.c AR libdes.a a - des_enc.o a - cbc_enc.o a - set_key.o a - ecb_enc.o a - fcrypt_b.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libdes' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libmd5' /bin/bash: line 1: test: 13.2.0: integer expression expected CC md5.c AR libmd5.a a - md5.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libmd5' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libsha1' /bin/bash: line 1: test: 13.2.0: integer expression expected CC sha1.c AR libsha1.a a - sha1.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libsha1' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libsha2' /bin/bash: line 1: test: 13.2.0: integer expression expected CC hmac_sha2.c CC ike_alg_sha2.c CC sha2.c AR libsha2.a a - hmac_sha2.o a - ike_alg_sha2.o a - sha2.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/libsha2' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/liboswcrypto' /bin/bash: line 1: test: 13.2.0: integer expression expected CC oswcrypto.c CC init.c CC xfrm_plugin.c CC groups.c AR liboswcrypto.a a - oswcrypto.o a - init.o a - xfrm_plugin.o a - groups.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto/liboswcrypto' make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libcrypto' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libwhack' CC whacklib.c CC aliascomp.c AR whacklib.o a - whacklib.o a - aliascomp.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libwhack' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libipsecconf' /bin/bash: line 1: test: 13.2.0: integer expression expected CC confread.c CC confwrite.c CC starterwhack.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/starterwhack.c: In function 'send_whack_msg_to_socket': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/starterwhack.c:230:9: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 230 | strncpy(ctl_addr.sun_path, cfg->ctlbase, sizeof(ctl_addr.sun_path)); | ^ CC starterlog.c CC cmp.c BISON parser.l CC parser.tab.c LEX parser.tab.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/parser.l:359: warning, rule cannot be matched CC lex.yy.c CC keywords.c CC oeconns.c CC interfaces.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/interfaces.c: In function 'starter_find_physical_iface': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/interfaces.c:83:41: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 83 | strncpy(req.ifr_name, _if, IFNAMSIZ); | ^ AR libipsecconf.a a - confread.o a - confwrite.o a - starterwhack.o a - starterlog.o a - cmp.o a - parser.tab.o a - lex.yy.o a - keywords.o a - oeconns.o a - interfaces.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/libipsecconf' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/liboswlog' /bin/bash: line 1: test: 13.2.0: integer expression expected CC oswlog.c AR liboswlog.a a - oswlog.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/liboswlog' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/liboswkeys' /bin/bash: line 1: test: 13.2.0: integer expression expected CC asn1.c CC certload.c CC pem.c CC pgp.c CC pkcs.c CC x509dn.c CC ocsp.c CC rsapub.c CC x509cert.c CC x509lists.c CC oid.c CC x509chain.c CC der.c CC signatures.c AR liboswkeys.a a - asn1.o a - certload.o a - pem.o a - pgp.o a - pkcs.o a - x509dn.o a - ocsp.o a - rsapub.o a - x509cert.o a - x509lists.o a - oid.o a - x509chain.o a - der.o a - signatures.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib/liboswkeys' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/lib' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/programs' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/programs/proc' /bin/bash: line 1: test: 13.2.0: integer expression expected make[4]: Nothing to be done for 'programs'. make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/programs/proc' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/programs/pluto' CC connections.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:56: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c: In function 'delete_end': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:191:31: warning: unused parameter 'c' [-Wunused-parameter] 191 | delete_end(struct connection *c UNUSED, struct spd_route *sr UNUSED, struct end *e) | ~~~~~~~~~~~~~~~~~~~^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:191:59: warning: unused parameter 'sr' [-Wunused-parameter] 191 | delete_end(struct connection *c UNUSED, struct spd_route *sr UNUSED, struct end *e) | ~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c: In function 'show_one_sr': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3149:19: warning: unused parameter 'num' [-Wunused-parameter] 3149 | , int num UNUSED | ~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c: In function 'refine_host_connection': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:2507:28: warning: 'auth_policy' may be used uninitialized [-Wmaybe-uninitialized] 2507 | if ((d->policy & auth_policy) == LEMPTY) | ~~~~~~~~~~~^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:2393:12: note: 'auth_policy' was declared here 2393 | lset_t auth_policy; | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c: In function 'show_one_connection': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3252:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 3252 | snprintf(instname, instname_len, "[%lu]", c->instance_serial); | ^ In file included from /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/stdio.h:980, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:21: In function 'snprintf', inlined from 'fmt_connection_inst_name' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3252:2, inlined from 'fmt_connection_inst_name' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3246:7, inlined from 'show_one_connection' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3265:5: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 4 and 13 bytes into a destination of size 12 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC initiate.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/initiate.c:62: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/initiate.c: In function 'initiate_ondemand_body': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/initiate.c:1274:17: warning: 'next_step' may be used uninitialized [-Wmaybe-uninitialized] 1274 | else if (next_step == fos_done) | ^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/initiate.c:836:29: note: 'next_step' was declared here 836 | enum find_oppo_step next_step; | ^~~~~~~~~ CC terminate.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/terminate.c:53: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/terminate.c: In function 'terminate_a_connection': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/terminate.c:79:52: warning: unused parameter 'arg' [-Wunused-parameter] 79 | terminate_a_connection(struct connection *c, void *arg UNUSED) | ~~~~~~^~~ CC pending.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pending.c:47: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pending.c: In function 'add_pending': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pending.c:79:34: warning: unused parameter 'uctx' [-Wunused-parameter] 79 | , struct xfrm_user_sec_ctx_ike * uctx UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC cookie.c CC crypto.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:31: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c: At top level: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:92:25: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 92 | algo_v2id: IKEv2_PRF_HMAC_MD5, | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:99:18: warning: initialization of 'void (*)(void *, const u_char *, size_t)' {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(void *, const unsigned char *, long unsigned int)' [-Wincompatible-pointer-types] 99 | hash_update: osMD5Update, | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:99:18: note: (near initialization for 'crypto_hasher_md5.hash_update') /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:109:25: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 109 | algo_v2id: IKEv2_AUTH_HMAC_MD5_96, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:116:18: warning: initialization of 'void (*)(void *, const u_char *, size_t)' {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(void *, const unsigned char *, long unsigned int)' [-Wincompatible-pointer-types] 116 | hash_update: osMD5Update, | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:116:18: note: (near initialization for 'crypto_integ_md5.hash_update') /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:126:25: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 126 | algo_v2id: IKEv2_PRF_HMAC_SHA1, | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:133:18: warning: initialization of 'void (*)(void *, const u_char *, size_t)' {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(void *, const unsigned char *, long unsigned int)' [-Wincompatible-pointer-types] 133 | hash_update: SHA1Update, | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:133:18: note: (near initialization for 'crypto_hasher_sha1.hash_update') /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:143:25: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 143 | algo_v2id: IKEv2_AUTH_HMAC_SHA1_96, | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:150:18: warning: initialization of 'void (*)(void *, const u_char *, size_t)' {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(void *, const unsigned char *, long unsigned int)' [-Wincompatible-pointer-types] 150 | hash_update: SHA1Update, | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:150:18: note: (near initialization for 'crypto_integ_sha1.hash_update') CC dpd.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/dpd.c:37: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC foodgroups.c CC log.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/log.c:45: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC state.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:45: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c: In function 'delete_state_function': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:694:56: warning: unused parameter 'c' [-Wunused-parameter] 694 | , struct connection *c UNUSED | ~~~~~~~~~~~~~~~~~~~^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:695:43: warning: unused parameter 'arg' [-Wunused-parameter] 695 | , void *arg UNUSED) | ~~~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c: In function 'same_phase1_sa_relations': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:708:44: warning: unused parameter 'pass' [-Wunused-parameter] 708 | , int pass UNUSED) | ~~~~^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c: In function 'same_phase1_sa': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:749:36: warning: unused parameter 'arg' [-Wunused-parameter] 749 | , void *arg UNUSED | ~~~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:750:34: warning: unused parameter 'pass' [-Wunused-parameter] 750 | , int pass UNUSED) | ~~~~^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c: In function 'rekey_state_function': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:835:55: warning: unused parameter 'c' [-Wunused-parameter] 835 | , struct connection *c UNUSED | ~~~~~~~~~~~~~~~~~~~^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:836:42: warning: unused parameter 'arg' [-Wunused-parameter] 836 | , void *arg UNUSED) | ~~~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c: In function 'find_state_ikev1': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:1072:38: warning: unused parameter 'peer' [-Wunused-parameter] 1072 | , const ip_address *peer UNUSED | ~~~~~~~~~~~~~~~~~~^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c: In function 'find_info_state': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:1301:37: warning: unused parameter 'peer' [-Wunused-parameter] 1301 | , const ip_address *peer UNUSED | ~~~~~~~~~~~~~~~~~~^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c: In function 'fmt_state': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/state.c:1518:59: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 1518 | snprintf(dpdbuf, sizeof(dpdbuf), "; lastdpd=%lds(seq in:%u out:%u)" | ~~^ | | | long int | %lld 1519 | , st->st_last_dpd !=0 ? tn - st->st_last_dpd : (long)-1 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} CC plutomain.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/plutomain.c:73: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/plutomain.c: In function 'pluto_sigusr1': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/plutomain.c:240:31: warning: unused parameter 'signum' [-Wunused-parameter] 240 | static void pluto_sigusr1(int signum UNUSED) | ~~~~^~~~~~ CC server.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/server.c:61: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/server.c: In function 'huphandler': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/server.c:503:16: warning: unused parameter 'sig' [-Wunused-parameter] 503 | huphandler(int sig UNUSED) | ~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/server.c: In function 'termhandler': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/server.c:511:17: warning: unused parameter 'sig' [-Wunused-parameter] 511 | termhandler(int sig UNUSED) | ~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/server.c: In function 'childhandler': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/server.c:519:18: warning: unused parameter 'sig' [-Wunused-parameter] 519 | childhandler(int sig UNUSED) | ~~~~^~~ CC timer.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/timer.c:42: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC replace.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/replace.c:37: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC hmac.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/hmac.c:28: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC hostpair.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/hostpair.c:64: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC myid.c CC ipsec_doi.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ipsec_doi.c:53: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ipsec_doi.c: In function 'initialize_new_state': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ipsec_doi.c:755:17: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 755 | strncpy(st->st_xauth_username, sr->this.xauth_name, sizeof(st->st_xauth_username)); | ^ CC ikev1.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1.c:138: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC ikev1_main.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_main.c:47: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_main.c: In function 'doi_log_cert_thinking': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_main.c:1444:42: warning: unused parameter 'md' [-Wunused-parameter] 1444 | doi_log_cert_thinking(struct msg_digest *md UNUSED | ~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_main.c: In function 'oakley_id_and_auth': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_main.c:1896:16: warning: 'ugh' may be used uninitialized [-Wmaybe-uninitialized] 1896 | if (ugh != NULL) | ^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_main.c:1856:19: note: 'ugh' was declared here 1856 | err_t ugh; | ^~~ CC ikev1_quick.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_quick.c:39: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_quick.c: In function 'quick_outI1': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_quick.c:712:46: warning: unused parameter 'uctx' [-Wunused-parameter] 712 | , struct xfrm_user_sec_ctx_ike * uctx UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/log.h:22, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/connections.h:127, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_quick.c:47: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_quick.c: In function 'report_verify_failure': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/oswlog.h:30:17: warning: 'which' may be used uninitialized [-Wmaybe-uninitialized] 30 | #define loglog openswan_loglog /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_quick.c:1269:5: note: in expansion of macro 'loglog' 1269 | loglog(RC_OPPOFAILURE | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev1_quick.c:1242:11: note: 'which' was declared here 1242 | err_t which; | ^~~~~ CC ikev2.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2.c:52: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2.c: In function 'ikev2_process_payloads': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2.c:524:43: warning: unused parameter 'md' [-Wunused-parameter] 524 | ikev2_process_payloads(struct msg_digest *md UNUSED, | ~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2.c: In function 'accept_v2_nonce': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2.c:1593:16: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 1593 | return NOTHING_WRONG; | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2.c: In function 'ikev2_log_parentSA': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2.c:1044:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1044 | strncpy(encalgo, st->st_oakley.encrypter->common.officname, sizeof(encalgo)); | ^ CC ikev2_alg.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_alg.c:32: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC ikev2_parent.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c:36: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c: In function 'justship_v2KE': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c:103:29: warning: unused parameter 'st' [-Wunused-parameter] 103 | justship_v2KE(struct state *st UNUSED | ~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c: In function 'justship_v2Nonce': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c:139:37: warning: unused parameter 'st' [-Wunused-parameter] 139 | bool justship_v2Nonce(struct state *st UNUSED, pb_stream *outpbs, chunk_t *nonce, unsigned int np) | ~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c: In function 'ikev2_encrypt_msg': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c:240:48: warning: unused parameter 'e_pbs' [-Wunused-parameter] 240 | pb_stream *e_pbs UNUSED, | ~~~~~~~~~~~^~~~~ In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c:565: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent_I1.c: In function 'ikev2parent_outI1_withstate': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent_I1.c:148:62: warning: unused parameter 'uctx' [-Wunused-parameter] 148 | , struct xfrm_user_sec_ctx_ike * uctx UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c:566: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent_R1.c: In function 'ikev2parent_inI1outR1': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent_R1.c:197:20: warning: implicit conversion from 'enum ' to 'stf_status' [-Wenum-conversion] 197 | return v2N_INVALID_KE_PAYLOAD; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent.c:567: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent_I2.c: In function 'ikev2parent_inR1outI2': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_parent_I2.c:134:16: warning: implicit conversion from 'enum ' to 'stf_status' [-Wenum-conversion] 134 | return PAYLOAD_MALFORMED; | ^~~~~~~~~~~~~~~~~ CC ikev2_child.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c:46: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c: In function 'ikev2_emit_ts': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c:159:45: warning: unused parameter 'md' [-Wunused-parameter] 159 | stf_status ikev2_emit_ts(struct msg_digest *md UNUSED | ~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c: In function 'ikev2_calc_emit_ts': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c:229:40: warning: unused parameter 'policy' [-Wunused-parameter] 229 | , lset_t policy UNUSED) | ~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c: In function 'ikev2_child_sa_respond': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c:1024:12: warning: implicit conversion from 'v2_notification_t' to 'notification_t' [-Wenum-conversion] 1024 | rn = ikev2_parse_child_sa_body(&sa_pd->pbs, &sa_pd->payload.v2sa, | ^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c: In function 'ikev2child_outC1': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c:1134:45: warning: unused parameter 'try' [-Wunused-parameter] 1134 | , unsigned long try /* how many attempts so far */ UNUSED | ~~~~~~~~~~~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c:1136:62: warning: unused parameter 'uctx' [-Wunused-parameter] 1136 | , struct xfrm_user_sec_ctx_ike * uctx UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c: In function 'ikev2child_inCI1_continue1': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c:1629:44: warning: implicit conversion from 'v2_notification_t' to 'notification_t' [-Wenum-conversion] 1629 | send_v2_notification_enc(md, xchg, rn, NULL); | ^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c: In function 'ikev2child_inCR1_decrypt': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_child.c:1886:44: warning: implicit conversion from 'v2_notification_t' to 'notification_t' [-Wenum-conversion] 1886 | send_v2_notification_enc(md, xchg, rn, NULL); | ^~ CC spdb_v2_struct.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:40: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c: In function 'ikev2_process_transforms': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:496:20: warning: implicit conversion from 'enum ' to 'stf_status' [-Wenum-conversion] 496 | return BAD_PROPOSAL_SYNTAX; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:501:24: warning: implicit conversion from 'enum ' to 'stf_status' [-Wenum-conversion] 501 | return BAD_PROPOSAL_SYNTAX; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c: In function 'ikev2_emit_winning_sa': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:609:20: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 609 | return STF_INTERNAL_ERROR; | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:675:12: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 675 | return NOTHING_WRONG; | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c: In function 'ikev2_parse_parent_sa_body': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:718:20: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 718 | return PAYLOAD_MALFORMED; | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:722:20: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 722 | return PAYLOAD_MALFORMED; | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:734:24: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 734 | return PAYLOAD_MALFORMED; | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:740:20: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 740 | return INVALID_SPI; | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:768:38: warning: implicit conversion from 'stf_status' to 'v2_notification_t' [-Wenum-conversion] 768 | if(ret != STF_OK) return ret; | ^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:788:16: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 788 | return NO_PROPOSAL_CHOSEN; | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:803:91: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 803 | ta.integ_hasher= (struct ike_integ_desc *)ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG,ta.integ_hash, 0); | ~~^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:806:88: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 806 | ta.prf_hasher = (struct ike_prf_desc *)ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, ta.prf_hash, 0); | ~~^~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:820:12: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 820 | return NOTHING_WRONG; | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:681:28: warning: unused parameter 'sa_prop' [-Wunused-parameter] 681 | const struct ikev2_sa *sa_prop UNUSED, /* header of input SA Payload */ | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:684:10: warning: unused parameter 'selection' [-Wunused-parameter] 684 | bool selection UNUSED /* if this SA is a selection, only one | ~~~~~^~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c: In function 'ikev2_parse_child_sa_body': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1030:20: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 1030 | return PAYLOAD_MALFORMED; | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1035:20: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 1035 | return PAYLOAD_MALFORMED; | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1044:28: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 1044 | return PAYLOAD_MALFORMED; | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1054:24: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 1054 | return INVALID_SPI; | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1061:20: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 1061 | return INVALID_PROTOCOL_ID; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1089:38: warning: implicit conversion from 'stf_status' to 'v2_notification_t' [-Wenum-conversion] 1089 | if(ret != STF_OK) return ret; | ^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1114:16: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 1114 | return NO_PROPOSAL_CHOSEN; | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1130:91: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 1130 | ta.integ_hasher= (struct ike_integ_desc *)ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG,ta.integ_hash, 0); | ~~^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1157:12: warning: implicit conversion from 'enum ' to 'v2_notification_t' [-Wenum-conversion] 1157 | return NOTHING_WRONG; | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:992:28: warning: unused parameter 'sa_prop' [-Wunused-parameter] 992 | const struct ikev2_sa *sa_prop UNUSED, /* header of input SA Payload */ | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c: In function 'ikev2_emit_ipsec_sa': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v2_struct.c:1165:41: warning: unused parameter 'policy' [-Wunused-parameter] 1165 | , lset_t policy UNUSED) | ~~~~~~~^~~~~~ CC ikev2_notify.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_notify.c:30: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_notify.c: In function 'process_nat_payload': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_notify.c:92:57: warning: unused parameter 'p' [-Wunused-parameter] 92 | , struct payload_digest *p UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~^ CC ikeping.c CC kernel.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel.c:49: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel.c: In function 'fmt_common_shell_out': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel.c:413:20: warning: the comparison will always evaluate as 'true' for the address of 'st_xauth_username' will never be NULL [-Waddress] 413 | if (st != NULL && st->st_xauth_username) { | ^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:448:25: note: 'st_xauth_username' declared here 448 | char st_xauth_username[XAUTH_USERNAME_LEN]; | ^~~~~~~~~~~~~~~~~ CC kernel_ops.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_ops.c:50: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC kernel_netlink.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_netlink.c:59: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC kernel_forces.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_forces.c:54: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_forces.c: In function 'netlink_raw_eroute': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_forces.c:553:28: warning: unused parameter 'policy_label' [-Wunused-parameter] 553 | , char *policy_label UNUSED | ~~~~~~^~~~~~~~~~~~ CC kernel_pfkey.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_pfkey.c:52: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_pfkey.c: In function 'pfkey_raw_eroute': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_pfkey.c:865:33: warning: unused parameter 'proto' [-Wunused-parameter] 865 | , unsigned int proto UNUSED | ~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_pfkey.c:868:51: warning: unused parameter 'proto_info' [-Wunused-parameter] 868 | , const struct pfkey_proto_info *proto_info UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_pfkey.c:869:27: warning: unused parameter 'use_lifetime' [-Wunused-parameter] 869 | , time_t use_lifetime UNUSED | ~~~~~~~^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_pfkey.c:872:26: warning: unused parameter 'policy_label' [-Wunused-parameter] 872 | , char *policy_label UNUSED | ~~~~~~^~~~~~~~~~~~ CC kernel_noklips.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c: In function 'noklips_register_response': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:65:50: warning: unused parameter 'msg' [-Wunused-parameter] 65 | noklips_register_response(const struct sadb_msg *msg UNUSED) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c: In function 'noklips_raw_eroute': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:75:38: warning: unused parameter 'this_host' [-Wunused-parameter] 75 | noklips_raw_eroute(const ip_address *this_host UNUSED | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:76:39: warning: unused parameter 'this_client' [-Wunused-parameter] 76 | , const ip_subnet *this_client UNUSED | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:77:40: warning: unused parameter 'that_host' [-Wunused-parameter] 77 | , const ip_address *that_host UNUSED | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:78:39: warning: unused parameter 'that_client' [-Wunused-parameter] 78 | , const ip_subnet *that_client UNUSED | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:79:34: warning: unused parameter 'spi' [-Wunused-parameter] 79 | , ipsec_spi_t spi UNUSED | ~~~~~~~~~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:80:35: warning: unused parameter 'proto' [-Wunused-parameter] 80 | , unsigned int proto UNUSED | ~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:81:35: warning: unused parameter 'transport_proto' [-Wunused-parameter] 81 | , unsigned int transport_proto UNUSED | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:82:35: warning: unused parameter 'satype' [-Wunused-parameter] 82 | , unsigned int satype UNUSED | ~~~~~~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:83:53: warning: unused parameter 'proto_info' [-Wunused-parameter] 83 | , const struct pfkey_proto_info *proto_info UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:84:29: warning: unused parameter 'use_lifetime' [-Wunused-parameter] 84 | , time_t use_lifetime UNUSED | ~~~~~~~^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:85:35: warning: unused parameter 'op' [-Wunused-parameter] 85 | , unsigned int op UNUSED | ~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:86:34: warning: unused parameter 'text_said' [-Wunused-parameter] 86 | , const char *text_said UNUSED | ~~~~~~~~~~~~^~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:87:28: warning: unused parameter 'policy_label' [-Wunused-parameter] 87 | , char *policy_label UNUSED | ~~~~~~^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c: In function 'noklips_add_sa': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:94:34: warning: unused parameter 'sa' [-Wunused-parameter] 94 | noklips_add_sa(struct kernel_sa *sa UNUSED | ~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:95:23: warning: unused parameter 'replace' [-Wunused-parameter] 95 | , bool replace UNUSED) | ~~~~~^~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c: In function 'noklips_grp_sa': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:101:40: warning: unused parameter 'sa0' [-Wunused-parameter] 101 | noklips_grp_sa(const struct kernel_sa *sa0 UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:102:42: warning: unused parameter 'sa1' [-Wunused-parameter] 102 | , const struct kernel_sa *sa1 UNUSED) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c: In function 'noklips_del_sa': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:108:40: warning: unused parameter 'sa' [-Wunused-parameter] 108 | noklips_del_sa(const struct kernel_sa *sa UNUSED) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c: In function 'noklips_sag_eroute': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:114:34: warning: unused parameter 'st' [-Wunused-parameter] 114 | noklips_sag_eroute(struct state *st UNUSED | ~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:115:46: warning: unused parameter 'sr' [-Wunused-parameter] 115 | , const struct spd_route *sr UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:116:49: warning: unused parameter 'op' [-Wunused-parameter] 116 | , enum pluto_sadb_operations op UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:117:34: warning: unused parameter 'opname' [-Wunused-parameter] 117 | , const char *opname UNUSED) | ~~~~~~~~~~~~^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c: In function 'noklips_shunt_eroute': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:123:41: warning: unused parameter 'c' [-Wunused-parameter] 123 | noklips_shunt_eroute(struct connection *c UNUSED | ~~~~~~~~~~~~~~~~~~~^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:124:48: warning: unused parameter 'sr' [-Wunused-parameter] 124 | , const struct spd_route *sr UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:125:39: warning: unused parameter 'rt_kind' [-Wunused-parameter] 125 | , enum routing_t rt_kind UNUSED | ~~~~~~~~~~~~~~~^~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:126:51: warning: unused parameter 'op' [-Wunused-parameter] 126 | , enum pluto_sadb_operations op UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/kernel_noklips.c:127:36: warning: unused parameter 'opname' [-Wunused-parameter] 127 | , const char *opname UNUSED) | ~~~~~~~~~~~~^~~~~~ CC rcv_whack.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/rcv_whack.c:56: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC demux.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/demux.c:54: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC msgdigest.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/msgdigest.c:46: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC keymgmt.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/keymgmt.c:60: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/keymgmt.c: In function 'print_secrets': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/keymgmt.c:132:34: warning: unused parameter 'uservoid' [-Wunused-parameter] 132 | , void *uservoid UNUSED) | ~~~~~~^~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/keymgmt.c: In function 'osw_get_xauthsecret': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/keymgmt.c:274:46: warning: unused parameter 'c' [-Wunused-parameter] 274 | osw_get_xauthsecret(const struct connection *c UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~^ CC signatures.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/signatures.c:59: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC dnskey.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/dnskey.c:51: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/dnskey.c: In function 'adns_reapchild': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/dnskey.c:73:36: warning: unused parameter 'status' [-Wunused-parameter] 73 | bool adns_reapchild(pid_t pid, int status UNUSED) | ~~~~^~~~~~ In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/log.h:22, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/dnskey.c:40: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/dnskey.c: In function 'init_adns': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/oswlog.h:166:44: warning: this statement may fall through [-Wimplicit-fallthrough=] 166 | #define exit_log_errno(a) { int e = errno; openswan_exit_log_errno_routine a; } /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/dnskey.c:111:9: note: in expansion of macro 'exit_log_errno' 111 | exit_log_errno((e, "fork() failed in init_adns()")); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/dnskey.c:113:5: note: here 113 | case 0: | ^~~~ CC pluto_crypt.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pluto_crypt.c:58: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pluto_crypt.c: In function 'catchhup': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pluto_crypt.c:176:26: warning: unused parameter 'signo' [-Wunused-parameter] 176 | static void catchhup(int signo UNUSED) | ~~~~^~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pluto_crypt.c: In function 'catchusr1': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pluto_crypt.c:182:27: warning: unused parameter 'signo' [-Wunused-parameter] 182 | static void catchusr1(int signo UNUSED) | ~~~~^~~~~ CC crypt_utils.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypt_utils.c:41: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC build_ke.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/build_ke.c:48: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC crypt_ke.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypt_ke.c:48: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC crypt_dh.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypt_dh.c:48: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC crypt_start_dh.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypt_start_dh.c:44: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC ikev2_derived_keys.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_derived_keys.c:43: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC ikev2_prfplus.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_prfplus.c:43: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC spdb_struct.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_struct.c:41: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC spdb_v1_struct.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:40: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c: In function 'ikev1_alg_makedb': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:121:63: warning: unused parameter 'oneproposal' [-Wunused-parameter] 121 | ikev1_alg_makedb(lset_t policy, struct alg_info_ike *ei, bool oneproposal UNUSED | ~~~~~^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c: In function 'out_sa': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:530:15: warning: unused parameter 'aggressive_mode' [-Wunused-parameter] 530 | , bool aggressive_mode UNUSED | ~~~~~^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c: In function 'parse_isakmp_sa_body': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:1346:45: warning: implicit conversion from 'enum ikev2_trans_type_encr' to 'enum ikev2_trans_type_integ' [-Wenum-conversion] 1346 | ta.integ_hash = ta.integ_hasher->common.algo_v2id; | ^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c: In function 'init_am_st_oakley': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:1750:41: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_integ' [-Wenum-conversion] 1750 | ta.prf_hasher = crypto_get_hasher(ta.prf_hash); | ~~^~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c: In function 'out_sa': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:785:26: warning: 'trans_desc' may be used uninitialized [-Wmaybe-uninitialized] 785 | if (!out_struct(&trans, trans_desc, &proposal_pbs, &trans_pbs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:628:28: note: 'trans_desc' was declared here 628 | struct_desc *trans_desc; | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:799:25: warning: 'attr_desc' may be used uninitialized [-Wmaybe-uninitialized] 799 | out_attr(GROUP_DESCRIPTION, st->st_pfs_group->group | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 800 | , attr_desc, attr_val_descs | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 801 | , &trans_pbs); | ~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:629:28: note: 'attr_desc' was declared here 629 | struct_desc *attr_desc; | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:799:25: warning: 'attr_val_descs' may be used uninitialized [-Wmaybe-uninitialized] 799 | out_attr(GROUP_DESCRIPTION, st->st_pfs_group->group | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 800 | , attr_desc, attr_val_descs | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 801 | , &trans_pbs); | ~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/spdb_v1_struct.c:630:28: note: 'attr_val_descs' was declared here 630 | enum_names **attr_val_descs; | ^~~~~~~~~~~~~~ CC security_selinux.c CC vendor.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/vendor.c:42: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/vendor.c: In function 'handle_known_vendorid': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/vendor.c:558:52: warning: unused parameter 'st' [-Wunused-parameter] 558 | , struct state *st UNUSED) | ~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/vendor.c: At top level: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/vendor.c:758:6: warning: conflicting types for 'out_vendorid' due to enum/integer mismatch; have 'bool(u_int8_t, pb_stream *, unsigned int)' {aka 'int(unsigned char, struct packet_byte_stream *, unsigned int)'} [-Wenum-int-mismatch] 758 | bool out_vendorid (u_int8_t np, pb_stream *outs, unsigned int vid) | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/vendor.c:39: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/vendor.h:174:6: note: previous declaration of 'out_vendorid' with type 'bool(u_int8_t, pb_stream *, enum known_vendorid)' {aka 'int(unsigned char, struct packet_byte_stream *, enum known_vendorid)'} 174 | bool out_vendorid (u_int8_t np, pb_stream *outs, enum known_vendorid vid); | ^~~~~~~~~~~~ CC nat_traversal.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/nat_traversal.c:53: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC virtual.c CC ike_alg_aes.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ike_alg_aes.c:16: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC ike_alginit.c CC ikev2_rsa.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_rsa.c:47: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_rsa.c: In function 'ikev2_verify_rsa_sha1': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_rsa.c:135:23: warning: 'check_signature_gen' reading 64 bytes from a region of size 20 [-Wstringop-overread] 135 | checkresult = check_signature_gen(d, st, calc_hash, hash_len | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | , sig_pbs | ~~~~~~~~~ 137 | #ifdef USE_KEYRR | ~~~~~~~~~~~~~~~~ 138 | , keys_from_dns | ~~~~~~~~~~~~~~~ 139 | #endif | ~~~~~~ 140 | , gateways_from_dns | ~~~~~~~~~~~~~~~~~~~ 141 | , try_RSA_signature_v2); | ~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_rsa.c:135:23: note: referencing argument 3 of type 'const u_char[64]' {aka 'const unsigned char[64]'} In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_rsa.c:59: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/keys.h:114:1: note: in a call to function 'check_signature_gen' 114 | check_signature_gen(struct connection *c, struct state *st | ^~~~~~~~~~~~~~~~~~~ CC ikev2_psk.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_psk.c:46: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_psk.c: In function 'ikev2_verify_psk_auth': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_psk.c:231:56: warning: unused parameter 'hp' [-Wunused-parameter] 231 | , struct IDhost_pair *hp UNUSED | ~~~~~~~~~~~~~~~~~~~~^~ CC ikev2_x509.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_x509.c:48: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_x509.c: In function 'doi_send_ikev2_certreq_thinking': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_x509.c:66:68: warning: unused parameter 'role' [-Wunused-parameter] 66 | doi_send_ikev2_certreq_thinking(struct state *st, enum phase1_role role UNUSED) | ~~~~~~~~~~~~~~~~~^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_x509.c: In function 'ikev2_send_certreq': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_x509.c:198:58: warning: unused parameter 'md' [-Wunused-parameter] 198 | ikev2_send_certreq( struct state *st, struct msg_digest *md UNUSED | ~~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ikev2_x509.c:199:40: warning: unused parameter 'role' [-Wunused-parameter] 199 | , enum phase1_role role UNUSED | ~~~~~~~~~~~~~~~~~^~~~ CC ike_alg_status.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/ike_alg_status.c:38: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ CC xauth.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/xauth.c:36:10: fatal error: crypt.h: No such file or directory 36 | #include | ^~~~~~~~~ compilation terminated. make[4]: *** [/home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/Makefile:260: xauth.o] Error 1 make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/programs/pluto' make[3]: *** [/home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/Makefile:59: programs] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32/programs' make[2]: *** [Makefile:10: programs] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.riscv32' make[1]: *** [Makefile:186: programs] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'