Mock Version: 1.2.13 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/dropbear.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-1c673174025dca08fb1009bbbc123f83263085b0/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/dropbear.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/dropbear-2015.67-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/dropbear.spec '], chrootPath='/var/lib/mock/epel-1-armhfp-1c673174025dca08fb1009bbbc123f83263085b0/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/dropbear.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RAasTT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dropbear-2015.67 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/dropbear-2015.67.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dropbear-2015.67 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv -f iso-8859-1 -t utf-8 -o CHANGES.utf8 CHANGES + mv CHANGES.utf8 CHANGES + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DjjmEO + umask 022 + cd /builddir/build/BUILD + cd dropbear-2015.67 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-pam --disable-bundled-libtom configure: WARNING: unrecognized options: --disable-dependency-tracking checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-install... no checking for install... install checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __UCLIBC__ is declared... no checking for crypt in -lcrypt... yes checking for deflate in -lz... yes configure: Enabling zlib checking for pam_authenticate in -lpam... yes configure: Enabling PAM checking for pam_fail_delay... yes configure: Using openpty if available checking for library containing openpty... -lutil configure: Enabling syslog checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes configure: Using shadow passwords if available checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking ioctl.h usability... no checking ioctl.h presence... no checking for ioctl.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for inttypes.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking lastlog.h usability... yes checking lastlog.h presence... yes checking for lastlog.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uint8_t... yes checking for u_int8_t... yes checking for uint16_t... yes checking for u_int16_t... yes checking for uint32_t... yes checking for u_int32_t... yes checking for struct sockaddr_storage... no checking for socklen_t... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct in6_addr... yes checking for struct addrinfo... yes checking for gai_strerror... yes checking for struct utmp.ut_host... yes checking for struct utmp.ut_pid... yes checking for struct utmp.ut_type... yes checking for struct utmp.ut_tv... yes checking for struct utmp.ut_id... yes checking for struct utmp.ut_addr... yes checking for struct utmp.ut_addr_v6... yes checking for struct utmp.ut_exit... yes checking for struct utmp.ut_time... yes checking for struct utmpx.ut_host... yes checking for struct utmpx.ut_syslen... no checking for struct utmpx.ut_type... yes checking for struct utmpx.ut_id... yes checking for struct utmpx.ut_addr... no checking for struct utmpx.ut_addr_v6... yes checking for struct utmpx.ut_time... no checking for struct utmpx.ut_tv... yes checking for struct sockaddr_storage.ss_family... yes checking for endutent... yes checking for getutent... yes checking for getutid... yes checking for getutline... yes checking for pututline... yes checking for setutent... yes checking for utmpname... yes checking for endutxent... yes checking for getutxent... yes checking for getutxid... yes checking for getutxline... yes checking for pututxline... yes checking for setutxent... yes checking for utmpxname... yes checking for logout... yes checking for updwtmp... yes checking for logwtmp... yes checking mach/mach_time.h usability... no checking mach/mach_time.h presence... no checking for mach/mach_time.h... no checking for mach_absolute_time... no checking for mp_exptmod in -ltommath... yes checking for register_cipher in -ltomcrypt... yes checking for library containing login... none required checking for logout... (cached) yes checking for updwtmp... (cached) yes checking for logwtmp... (cached) yes checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... yes checking if your system defines UTMP_FILE... yes checking if your system defines WTMP_FILE... yes checking if your system defines UTMPX_FILE... no checking if your system defines WTMPX_FILE... no checking whether gcc needs -traditional... no checking for working memcmp... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for dup2... yes checking for getspnam... yes checking for getusershell... yes checking for memset... yes checking for putenv... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for clearenv... yes checking for strlcpy... no checking for strlcat... no checking for daemon... yes checking for basename... yes checking for _getpty... no checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for getnameinfo... yes checking for fork... yes checking for writev... yes checking for library containing basename... none required configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: configure: WARNING: unrecognized options: --disable-dependency-tracking configure: Using system libtomcrypt and libtommath configure: configure: Now edit options.h to choose features. + make -j4 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o dbutil.o dbutil.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o buffer.o buffer.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o dss.o dss.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o bignum.o bignum.c dss.c: In function 'buf_put_dss_pub_key': dss.c:139:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(buf, SSH_SIGNKEY_DSS, SSH_SIGNKEY_DSS_LEN); ^ In file included from dbutil.h:30:0, from dss.c:26: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ dss.c: In function 'buf_dss_verify': dss.c:176:2: warning: pointer targets in passing argument 2 of 'buf_getstring' differ in signedness [-Wpointer-sign] string = buf_getstring(buf, &stringlen); ^ In file included from dbutil.h:30:0, from dss.c:26: buffer.h:57:16: note: expected 'unsigned int *' but argument is of type 'int *' unsigned char* buf_getstring(buffer* buf, unsigned int *retlen); ^ dss.c:176:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string = buf_getstring(buf, &stringlen); ^ dss.c:189:2: warning: pointer targets in passing argument 2 of 'bytes_to_mp' differ in signedness [-Wpointer-sign] bytes_to_mp(&val1, &string[SHA1_HASH_SIZE], SHA1_HASH_SIZE); ^ In file included from dss.c:27:0: bignum.h:34:6: note: expected 'const unsigned char *' but argument is of type 'char *' void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); ^ dss.c:211:2: warning: pointer targets in passing argument 2 of 'bytes_to_mp' differ in signedness [-Wpointer-sign] bytes_to_mp(&val1, &string[0], SHA1_HASH_SIZE); ^ In file included from dss.c:27:0: bignum.h:34:6: note: expected 'const unsigned char *' but argument is of type 'char *' void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); ^ dss.c: In function 'buf_put_dss_sign': dss.c:313:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(buf, SSH_SIGNKEY_DSS, SSH_SIGNKEY_DSS_LEN); ^ In file included from dbutil.h:30:0, from dss.c:26: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o signkey.o signkey.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o rsa.o rsa.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o dbrandom.o dbrandom.c signkey.c: In function 'buf_get_pub_key': signkey.c:149:2: warning: pointer targets in passing argument 1 of 'signkey_type_from_name' differ in signedness [-Wpointer-sign] keytype = signkey_type_from_name(ident, len); ^ signkey.c:71:19: note: expected 'const char *' but argument is of type 'unsigned char *' enum signkey_type signkey_type_from_name(const char* name, unsigned int namelen) { ^ signkey.c: In function 'buf_get_priv_key': signkey.c:219:2: warning: pointer targets in passing argument 1 of 'signkey_type_from_name' differ in signedness [-Wpointer-sign] keytype = signkey_type_from_name(ident, len); ^ signkey.c:71:19: note: expected 'const char *' but argument is of type 'unsigned char *' enum signkey_type signkey_type_from_name(const char* name, unsigned int namelen) { ^ signkey.c: In function 'buf_verify': signkey.c:521:2: warning: pointer targets in passing argument 1 of 'signkey_type_from_name' differ in signedness [-Wpointer-sign] type = signkey_type_from_name(type_name, type_name_len); ^ signkey.c:71:19: note: expected 'const char *' but argument is of type 'unsigned char *' enum signkey_type signkey_type_from_name(const char* name, unsigned int namelen) { ^ rsa.c: In function 'buf_put_rsa_pub_key': rsa.c:177:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(buf, SSH_SIGNKEY_RSA, SSH_SIGNKEY_RSA_LEN); ^ In file included from dbutil.h:30:0, from rsa.c:32: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ rsa.c: In function 'buf_put_rsa_sign': rsa.c:330:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(buf, SSH_SIGNKEY_RSA, SSH_SIGNKEY_RSA_LEN); ^ In file included from dbutil.h:30:0, from rsa.c:32: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ dbrandom.c: In function 'addrandom': dbrandom.c:154:2: warning: pointer targets in passing argument 2 of 'sha1_process' differ in signedness [-Wpointer-sign] sha1_process(&hs, buf, len); ^ In file included from /usr/include/tomcrypt.h:69:0, from includes.h:131, from dbrandom.c:25: /usr/include/tomcrypt_hash.h:251:5: note: expected 'const unsigned char *' but argument is of type 'char *' int sha1_process(hash_state * md, const unsigned char *in, unsigned long inlen); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o queue.o queue.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o atomicio.o atomicio.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o compat.o compat.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o fake-rfc2553.o fake-rfc2553.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o ltc_prng.o ltc_prng.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o ecc.o ecc.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o ecdsa.o ecdsa.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o crypto_desc.o crypto_desc.c ecc.c:16:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] }; ^ ecc.c:16:1: warning: (near initialization for 'ecc_curve_nistp256.name') [-Wpointer-sign] ecc.c:24:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] }; ^ ecc.c:24:1: warning: (near initialization for 'ecc_curve_nistp384.name') [-Wpointer-sign] ecc.c:32:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] }; ^ ecc.c:32:1: warning: (near initialization for 'ecc_curve_nistp521.name') [-Wpointer-sign] ecdsa.c: In function 'buf_put_ecdsa_pub_key': ecdsa.c:147:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buf_putstring(buf, key_ident, strlen(key_ident)); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from ecdsa.c:2: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ecdsa.c:148:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buf_putstring(buf, curve->name, strlen(curve->name)); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from ecdsa.c:2: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ ecdsa.c: In function 'buf_put_ecdsa_sign': ecdsa.c:226:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buf_putstring(buf, key_ident, strlen(key_ident)); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from ecdsa.c:2: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o gensignkey.o gensignkey.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o gendss.o gendss.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o genrsa.o genrsa.c gendss.c: In function 'getq': gendss.c:73:2: warning: pointer targets in passing argument 1 of 'genrandom' differ in signedness [-Wpointer-sign] genrandom(buf, QSIZE); ^ In file included from gendss.c:29:0: dbrandom.h:31:6: note: expected 'unsigned char *' but argument is of type 'char *' void genrandom(unsigned char* buf, unsigned int len); ^ gendss.c:77:2: warning: pointer targets in passing argument 2 of 'bytes_to_mp' differ in signedness [-Wpointer-sign] bytes_to_mp(key->q, buf, QSIZE); ^ In file included from gendss.c:28:0: bignum.h:34:6: note: expected 'const unsigned char *' but argument is of type 'char *' void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o common-session.o common-session.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o packet.o packet.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o common-algo.o common-algo.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o common-kex.o common-kex.c packet.c: In function 'write_packet': packet.c:60:11: warning: variable 'packet_type' set but not used [-Wunused-but-set-variable] unsigned packet_type; ^ common-session.c: In function 'send_session_identification': common-session.c:276:2: warning: pointer targets in passing argument 2 of 'buf_putbytes' differ in signedness [-Wpointer-sign] buf_putbytes(writebuf, LOCAL_IDENT "\r\n", strlen(LOCAL_IDENT "\r\n")); ^ In file included from session.h:30:0, from common-session.c:26: buffer.h:63:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); ^ common-session.c: In function 'read_session_identification': common-session.c:314:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(ses.remoteident, "SSH-2.", 6) != 0 ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-session.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common-session.c:314:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(ses.remoteident, "SSH-2.", 6) != 0 ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-session.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common-session.c:314:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(ses.remoteident, "SSH-2.", 6) != 0 ^ common-session.c:314:2: note: expected 'const char *' but argument is of type 'unsigned char *' common-session.c:314:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-session.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common-session.c:314:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(ses.remoteident, "SSH-2.", 6) != 0 ^ common-session.c:314:2: note: expected 'const char *' but argument is of type 'unsigned char *' common-session.c:314:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-session.c:314:2: note: expected 'const char *' but argument is of type 'unsigned char *' common-session.c:314:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-session.c:314:2: note: expected 'const char *' but argument is of type 'unsigned char *' common-session.c:314:2: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-session.c:25: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ common-session.c:315:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && strncmp(ses.remoteident, "SSH-1.99-", 9) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-session.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common-session.c:315:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && strncmp(ses.remoteident, "SSH-1.99-", 9) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-session.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common-session.c:315:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && strncmp(ses.remoteident, "SSH-1.99-", 9) != 0) { ^ common-session.c:315:4: note: expected 'const char *' but argument is of type 'unsigned char *' common-session.c:315:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-session.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common-session.c:315:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && strncmp(ses.remoteident, "SSH-1.99-", 9) != 0) { ^ common-session.c:315:4: note: expected 'const char *' but argument is of type 'unsigned char *' common-session.c:315:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-session.c:315:4: note: expected 'const char *' but argument is of type 'unsigned char *' common-session.c:315:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-session.c:315:4: note: expected 'const char *' but argument is of type 'unsigned char *' common-session.c:315:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-session.c:25: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ common-session.c: In function 'send_msg_keepalive': common-session.c:412:3: warning: pointer targets in passing argument 2 of 'start_send_channel_request' differ in signedness [-Wpointer-sign] start_send_channel_request(chan, DROPBEAR_KEEPALIVE_STRING); ^ In file included from chansession.h:29:0, from auth.h:30, from session.h:33, from common-session.c:26: channel.h:134:6: note: expected 'unsigned char *' but argument is of type 'char *' void start_send_channel_request(struct Channel *channel, unsigned char *type); ^ common-session.c:419:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] strlen(DROPBEAR_KEEPALIVE_STRING)); ^ In file included from session.h:30:0, from common-session.c:26: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ common-algo.c:142:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"aes128-ctr", 0, &dropbear_aes128, 1, &dropbear_mode_ctr}, ^ common-algo.c:142:2: warning: (near initialization for 'sshciphers[0].name') [-Wpointer-sign] common-algo.c:145:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"aes256-ctr", 0, &dropbear_aes256, 1, &dropbear_mode_ctr}, ^ common-algo.c:145:2: warning: (near initialization for 'sshciphers[1].name') [-Wpointer-sign] common-algo.c:151:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"aes128-cbc", 0, &dropbear_aes128, 1, &dropbear_mode_cbc}, ^ common-algo.c:151:2: warning: (near initialization for 'sshciphers[2].name') [-Wpointer-sign] common-algo.c:154:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"aes256-cbc", 0, &dropbear_aes256, 1, &dropbear_mode_cbc}, ^ common-algo.c:154:2: warning: (near initialization for 'sshciphers[3].name') [-Wpointer-sign] common-algo.c:164:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"3des-ctr", 0, &dropbear_3des, 1, &dropbear_mode_ctr}, ^ common-algo.c:164:2: warning: (near initialization for 'sshciphers[4].name') [-Wpointer-sign] common-algo.c:167:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"3des-cbc", 0, &dropbear_3des, 1, &dropbear_mode_cbc}, ^ common-algo.c:167:2: warning: (near initialization for 'sshciphers[5].name') [-Wpointer-sign] common-algo.c:181:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"hmac-sha2-256", 0, &dropbear_sha2_256, 1, NULL}, ^ common-algo.c:181:2: warning: (near initialization for 'sshhashes[0].name') [-Wpointer-sign] common-algo.c:184:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"hmac-sha2-512", 0, &dropbear_sha2_512, 1, NULL}, ^ common-algo.c:184:2: warning: (near initialization for 'sshhashes[1].name') [-Wpointer-sign] common-algo.c:187:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"hmac-sha1-96", 0, &dropbear_sha1_96, 1, NULL}, ^ common-algo.c:187:2: warning: (near initialization for 'sshhashes[2].name') [-Wpointer-sign] common-algo.c:190:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"hmac-sha1", 0, &dropbear_sha1, 1, NULL}, ^ common-algo.c:190:2: warning: (near initialization for 'sshhashes[3].name') [-Wpointer-sign] common-algo.c:193:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL}, ^ common-algo.c:193:2: warning: (near initialization for 'sshhashes[4].name') [-Wpointer-sign] common-algo.c:203:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"zlib@openssh.com", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1, NULL}, ^ common-algo.c:203:2: warning: (near initialization for 'ssh_compress[0].name') [-Wpointer-sign] common-algo.c:204:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"zlib", DROPBEAR_COMP_ZLIB, NULL, 1, NULL}, ^ common-algo.c:204:2: warning: (near initialization for 'ssh_compress[1].name') [-Wpointer-sign] common-algo.c:205:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, ^ common-algo.c:205:2: warning: (near initialization for 'ssh_compress[2].name') [-Wpointer-sign] common-algo.c:210:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"zlib@openssh.com", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1, NULL}, ^ common-algo.c:210:2: warning: (near initialization for 'ssh_delaycompress[0].name') [-Wpointer-sign] common-algo.c:211:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, ^ common-algo.c:211:2: warning: (near initialization for 'ssh_delaycompress[1].name') [-Wpointer-sign] common-algo.c:217:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, ^ common-algo.c:217:2: warning: (near initialization for 'ssh_nocompress[0].name') [-Wpointer-sign] common-algo.c:224:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"ecdsa-sha2-nistp256", DROPBEAR_SIGNKEY_ECDSA_NISTP256, NULL, 1, NULL}, ^ common-algo.c:224:2: warning: (near initialization for 'sshhostkey[0].name') [-Wpointer-sign] common-algo.c:227:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"ecdsa-sha2-nistp384", DROPBEAR_SIGNKEY_ECDSA_NISTP384, NULL, 1, NULL}, ^ common-algo.c:227:2: warning: (near initialization for 'sshhostkey[1].name') [-Wpointer-sign] common-algo.c:230:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"ecdsa-sha2-nistp521", DROPBEAR_SIGNKEY_ECDSA_NISTP521, NULL, 1, NULL}, ^ common-algo.c:230:2: warning: (near initialization for 'sshhostkey[2].name') [-Wpointer-sign] common-algo.c:234:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"ssh-rsa", DROPBEAR_SIGNKEY_RSA, NULL, 1, NULL}, ^ common-algo.c:234:2: warning: (near initialization for 'sshhostkey[3].name') [-Wpointer-sign] common-algo.c:237:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"ssh-dss", DROPBEAR_SIGNKEY_DSS, NULL, 1, NULL}, ^ common-algo.c:237:2: warning: (near initialization for 'sshhostkey[4].name') [-Wpointer-sign] common-algo.c:266:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"curve25519-sha256@libssh.org", 0, &kex_curve25519, 1, NULL}, ^ common-algo.c:266:2: warning: (near initialization for 'sshkex[0].name') [-Wpointer-sign] common-algo.c:270:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"ecdh-sha2-nistp521", 0, &kex_ecdh_nistp521, 1, NULL}, ^ common-algo.c:270:2: warning: (near initialization for 'sshkex[1].name') [-Wpointer-sign] common-algo.c:273:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"ecdh-sha2-nistp384", 0, &kex_ecdh_nistp384, 1, NULL}, ^ common-algo.c:273:2: warning: (near initialization for 'sshkex[2].name') [-Wpointer-sign] common-algo.c:276:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"ecdh-sha2-nistp256", 0, &kex_ecdh_nistp256, 1, NULL}, ^ common-algo.c:276:2: warning: (near initialization for 'sshkex[3].name') [-Wpointer-sign] common-algo.c:279:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"diffie-hellman-group14-sha1", 0, &kex_dh_group14, 1, NULL}, ^ common-algo.c:279:2: warning: (near initialization for 'sshkex[4].name') [-Wpointer-sign] common-algo.c:280:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {"diffie-hellman-group1-sha1", 0, &kex_dh_group1, 1, NULL}, ^ common-algo.c:280:2: warning: (near initialization for 'sshkex[5].name') [-Wpointer-sign] common-algo.c:282:2: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] {KEXGUESS2_ALGO_NAME, KEXGUESS2_ALGO_ID, NULL, 1, NULL}, ^ common-algo.c:282:2: warning: (near initialization for 'sshkex[6].name') [-Wpointer-sign] common-algo.c: In function 'have_algo': common-algo.c:296:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(algos[i].name) == algolen ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:297:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && (strncmp(algos[i].name, algo, algolen) == 0)) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:297:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && (strncmp(algos[i].name, algo, algolen) == 0)) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:297:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && (strncmp(algos[i].name, algo, algolen) == 0)) { ^ common-algo.c:297:5: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:297:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:297:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && (strncmp(algos[i].name, algo, algolen) == 0)) { ^ common-algo.c:297:5: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:297:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:297:5: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:297:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:297:5: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:297:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'const unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ common-algo.c: In function 'buf_put_algolist': common-algo.c:318:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(localalgos[i].name); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c: In function 'buf_match_algo': common-algo.c:374:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(remotenames[i], KEXGUESS2_ALGO_NAME) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:374:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(remotenames[i], KEXGUESS2_ALGO_NAME) == 0) { ^ common-algo.c:374:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:374:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:374:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(remotenames[i], KEXGUESS2_ALGO_NAME) == 0) { ^ common-algo.c:374:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:374:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:374:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:374:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:374:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:412:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(servnames[j], clinames[i]) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:412:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(servnames[j], clinames[i]) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:412:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(servnames[j], clinames[i]) == 0) { ^ common-algo.c:412:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:412:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:412:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:412:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:412:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(servnames[j], clinames[i]) == 0) { ^ common-algo.c:412:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:412:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:412:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:412:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:412:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(servnames[j], clinames[i]) == 0) { ^ common-algo.c:412:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:412:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:412:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:412:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:412:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:412:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:412:4: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c: In function 'algolist_string': common-algo.c:485:2: warning: pointer targets in passing argument 1 of 'm_strdup' differ in signedness [-Wpointer-sign] ret_list = m_strdup(buf_getptr(b, b->len - b->pos)); ^ In file included from session.h:40:0, from common-algo.c:28: dbutil.h:92:8: note: expected 'const char *' but argument is of type 'unsigned char *' void * m_strdup(const char * str); ^ common-algo.c: In function 'check_algo': common-algo.c:496:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(a->name, algo_name) == 0) ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:496:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(a->name, algo_name) == 0) ^ common-algo.c:496:3: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:496:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-algo.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ common-algo.c:496:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(a->name, algo_name) == 0) ^ common-algo.c:496:3: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:496:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:496:3: note: expected 'const char *' but argument is of type 'const unsigned char *' common-algo.c:496:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-algo.c:496:3: note: expected 'const char *' but argument is of type 'const unsigned char *' common-kex.c: In function 'send_msg_kexinit': common-kex.c:131:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "", 0); ^ In file included from dbutil.h:30:0, from common-kex.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ common-kex.c:134:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "", 0); ^ In file included from dbutil.h:30:0, from common-kex.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o common-channel.o common-channel.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o common-chansession.o common-chansession.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o termcodes.o termcodes.c common-channel.c: In function 'check_in_progress': common-channel.c:387:5: warning: pointer targets in passing argument 3 of 'send_msg_channel_open_failure' differ in signedness [-Wpointer-sign] SSH_OPEN_CONNECT_FAILED, "", ""); ^ common-channel.c:39:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void send_msg_channel_open_failure(unsigned int remotechan, int reason, ^ common-channel.c:387:5: warning: pointer targets in passing argument 4 of 'send_msg_channel_open_failure' differ in signedness [-Wpointer-sign] SSH_OPEN_CONNECT_FAILED, "", ""); ^ common-channel.c:39:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void send_msg_channel_open_failure(unsigned int remotechan, int reason, ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o loginrec.o loginrec.c common-channel.c: In function 'recv_msg_channel_open': common-channel.c:869:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(type, chantype->name) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-channel.c:27: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common-channel.c:869:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(type, chantype->name) == 0) { ^ common-channel.c:869:3: note: expected 'const char *' but argument is of type 'unsigned char *' common-channel.c:869:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-channel.c:27: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ common-channel.c:869:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(type, chantype->name) == 0) { ^ common-channel.c:869:3: note: expected 'const char *' but argument is of type 'unsigned char *' common-channel.c:869:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-channel.c:869:3: note: expected 'const char *' but argument is of type 'unsigned char *' common-channel.c:869:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] common-channel.c:869:3: note: expected 'const char *' but argument is of type 'unsigned char *' common-channel.c:916:2: warning: pointer targets in passing argument 3 of 'send_msg_channel_open_failure' differ in signedness [-Wpointer-sign] send_msg_channel_open_failure(remotechan, errtype, "", ""); ^ common-channel.c:39:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void send_msg_channel_open_failure(unsigned int remotechan, int reason, ^ common-channel.c:916:2: warning: pointer targets in passing argument 4 of 'send_msg_channel_open_failure' differ in signedness [-Wpointer-sign] send_msg_channel_open_failure(remotechan, errtype, "", ""); ^ common-channel.c:39:13: note: expected 'const unsigned char *' but argument is of type 'char *' static void send_msg_channel_open_failure(unsigned int remotechan, int reason, ^ common-channel.c: In function 'send_msg_channel_open_init': common-channel.c:1065:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, type->name, strlen(type->name)); ^ In file included from session.h:30:0, from common-channel.c:28: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char * const' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ common-channel.c: In function 'start_send_channel_request': common-channel.c:1166:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, type, strlen(type)); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from common-channel.c:27: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o tcp-accept.o tcp-accept.c tcp-accept.c: In function 'tcp_acceptor': tcp-accept.c:95:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] addr = "localhost"; ^ tcp-accept.c:97:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, addr, strlen(addr)); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from tcp-accept.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tcp-accept.c:101:3: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, ipstring, strlen(ipstring)); ^ In file included from channel.h:29:0, from tcpfwd.h:27, from tcp-accept.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ tcp-accept.c: In function 'listen_tcpfwd': tcp-accept.c:127:4: warning: pointer targets in passing argument 1 of 'dropbear_listen' differ in signedness [-Wpointer-sign] DROPBEAR_MAX_SOCKS, &errstring, &ses.maxfd); ^ In file included from tcp-accept.c:28:0: dbutil.h:77:5: note: expected 'const char *' but argument is of type 'unsigned char *' int dropbear_listen(const char* address, const char* port, ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o listener.o listener.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o process-packet.o process-packet.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o common-runopts.o common-runopts.c common-runopts.c: In function 'readhostkey': common-runopts.c:51:2: warning: pointer targets in passing argument 1 of 'addrandom' differ in signedness [-Wpointer-sign] addrandom(buf_getptr(buf, buf->len), buf->len); ^ In file included from common-runopts.c:32:0: dbrandom.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void addrandom(char * buf, unsigned int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o circbuffer.o circbuffer.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o curve25519-donna.o curve25519-donna.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-kex.o svr-kex.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-auth.o svr-auth.c svr-auth.c: In function 'send_msg_userauth_banner': svr-auth.c:92:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "en", 2); ^ In file included from dbutil.h:30:0, from svr-auth.c:29: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ svr-auth.c: In function 'recv_msg_userauth_request': svr-auth.c:128:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && (strncmp(servicename, SSH_SERVICE_CONNECTION, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:128:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && (strncmp(servicename, SSH_SERVICE_CONNECTION, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:128:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && (strncmp(servicename, SSH_SERVICE_CONNECTION, ^ svr-auth.c:128:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:128:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:128:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && (strncmp(servicename, SSH_SERVICE_CONNECTION, ^ svr-auth.c:128:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:128:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:128:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:128:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:128:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:128:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-auth.c:148:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_NONE, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:148:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_NONE, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:148:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_NONE, ^ svr-auth.c:148:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:148:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:148:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_NONE, ^ svr-auth.c:148:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:148:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:148:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:148:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:148:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:148:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-auth.c:177:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_PASSWORD, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:177:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_PASSWORD, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:177:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_PASSWORD, ^ svr-auth.c:177:5: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:177:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:177:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_PASSWORD, ^ svr-auth.c:177:5: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:177:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:177:5: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:177:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:177:5: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:177:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-auth.c:205:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_PUBKEY, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:205:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_PUBKEY, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:205:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_PUBKEY, ^ svr-auth.c:205:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:205:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:205:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(methodname, AUTH_METHOD_PUBKEY, ^ svr-auth.c:205:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:205:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:205:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:205:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:205:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:205:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-auth.c: In function 'checkusername': svr-auth.c:242:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp(username, ses.authstate.username) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:242:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp(username, ses.authstate.username) != 0) { ^ svr-auth.c:242:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:242:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-auth.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-auth.c:242:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp(username, ses.authstate.username) != 0) { ^ svr-auth.c:242:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:242:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:242:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-auth.c:242:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-auth.c:242:3: note: expected 'const char *' but argument is of type 'unsigned char *' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o sshpty.o sshpty.c svr-auth.c:250:4: warning: pointer targets in passing argument 1 of 'fill_passwd' differ in signedness [-Wpointer-sign] fill_passwd(username); ^ In file included from svr-auth.c:30:0: session.h:55:6: note: expected 'const char *' but argument is of type 'unsigned char *' void fill_passwd(const char* username); ^ svr-auth.c:251:4: warning: pointer targets in passing argument 1 of 'm_strdup' differ in signedness [-Wpointer-sign] ses.authstate.username = m_strdup(username); ^ In file included from svr-auth.c:29:0: dbutil.h:92:8: note: expected 'const char *' but argument is of type 'unsigned char *' void * m_strdup(const char * str); ^ svr-auth.c: In function 'send_msg_userauth_failure': svr-auth.c:336:3: warning: pointer targets in passing argument 2 of 'buf_putbytes' differ in signedness [-Wpointer-sign] buf_putbytes(typebuf, AUTH_METHOD_PUBKEY, AUTH_METHOD_PUBKEY_LEN); ^ In file included from dbutil.h:30:0, from svr-auth.c:29: buffer.h:63:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); ^ svr-auth.c:343:3: warning: pointer targets in passing argument 2 of 'buf_putbytes' differ in signedness [-Wpointer-sign] buf_putbytes(typebuf, AUTH_METHOD_PASSWORD, AUTH_METHOD_PASSWORD_LEN); ^ In file included from dbutil.h:30:0, from svr-auth.c:29: buffer.h:63:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-authpasswd.o svr-authpasswd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-authpubkey.o svr-authpubkey.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-authpubkeyoptions.o svr-authpubkeyoptions.c svr-authpubkey.c: In function 'checkpubkey': svr-authpubkey.c:198:2: warning: pointer targets in passing argument 1 of 'have_algo' differ in signedness [-Wpointer-sign] if (have_algo(algo, algolen, sshhostkey) == DROPBEAR_FAILURE) { ^ In file included from kex.h:29:0, from session.h:32, from svr-authpubkey.c:59: algo.h:109:5: note: expected 'char *' but argument is of type 'unsigned char *' int have_algo(char* algo, size_t algolen, algo_type algos[]); ^ svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ svr-authpubkey.c:253:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:253:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:253:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ svr-authpubkey.c:253:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:253:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:253:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ svr-authpubkey.c:253:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:253:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:253:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:253:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:253:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:253:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:253:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-authpubkey.c:253:3: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-authpubkey.c:277:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] options_start = buf_getptr(line, 1); ^ svr-authpubkey.c:295:4: warning: pointer targets in passing argument 2 of 'buf_putbytes' differ in signedness [-Wpointer-sign] buf_putbytes(options_buf, options_start, options_len); ^ In file included from session.h:30:0, from svr-authpubkey.c:59: buffer.h:63:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); ^ svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-session.o svr-session.c svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ svr-authpubkey.c:301:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:301:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:301:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ svr-authpubkey.c:301:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:301:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:301:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ svr-authpubkey.c:301:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:301:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:301:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:301:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:301:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-authpubkey.c:301:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-authpubkey.c:301:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-authpubkey.c:301:4: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkey.c:58: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-authpubkeyoptions.c: In function 'svr_pubkey_set_forced_command': svr-authpubkeyoptions.c:97:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] chansess->original_command = chansess->cmd; ^ svr-authpubkeyoptions.c:101:3: warning: pointer targets in passing argument 1 of 'm_strdup' differ in signedness [-Wpointer-sign] chansess->cmd = m_strdup(ses.authstate.pubkey_options->forced_command); ^ In file included from session.h:40:0, from svr-authpubkeyoptions.c:45: dbutil.h:92:8: note: expected 'const char *' but argument is of type 'unsigned char *' void * m_strdup(const char * str); ^ svr-authpubkeyoptions.c: In function 'match_option': svr-authpubkeyoptions.c:123:2: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (strncasecmp(buf_getptr(options_buf, len), opt_name, len) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-authpubkeyoptions.c:44: /usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-service.o svr-service.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-chansession.o svr-chansession.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-runopts.o svr-runopts.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-agentfwd.o svr-agentfwd.c svr-service.c: In function 'recv_msg_service_request': svr-service.c:48:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(SSH_SERVICE_USERAUTH, name, len) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-service.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-service.c:48:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp(SSH_SERVICE_USERAUTH, name, len) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-service.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-service.c:48:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(SSH_SERVICE_USERAUTH, name, len) == 0) { ^ svr-service.c:48:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-service.c:48:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-service.c:48:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-service.c:48:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-service.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-service.c:48:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp(SSH_SERVICE_USERAUTH, name, len) == 0) { ^ svr-service.c:48:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-service.c:48:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-service.c:48:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-service.c:48:4: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-service.c:25: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-service.c:58:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-service.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-service.c:58:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-service.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-service.c:58:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) { ^ svr-service.c:58:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-service.c:58:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-service.c:58:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-service.c:58:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-service.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-service.c:58:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) { ^ svr-service.c:58:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-service.c:58:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-service.c:58:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-service.c:58:4: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-service.c:25: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-main.o svr-main.c svr-chansession.c: In function 'send_msg_chansess_exitstatus': svr-chansession.c:186:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "exit-status", 11); ^ In file included from svr-chansession.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ svr-chansession.c: In function 'send_msg_chansess_exitsignal': svr-chansession.c:222:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "exit-signal", 11); ^ In file included from svr-chansession.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ svr-chansession.c:224:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, signame, strlen(signame)); ^ In file included from svr-chansession.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ svr-chansession.c:226:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "", 0); /* error msg */ ^ In file included from svr-chansession.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ svr-chansession.c:227:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "", 0); /* lang */ ^ In file included from svr-chansession.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ svr-chansession.c: In function 'chansess_login_alloc': svr-chansession.c:279:4: warning: pointer targets in passing argument 4 of 'login_alloc_entry' differ in signedness [-Wpointer-sign] svr_ses.remotehost, chansess->tty); ^ In file included from chansession.h:28:0, from auth.h:30, from session.h:33, from svr-chansession.c:28: loginrec.h:153:19: note: expected 'const char *' but argument is of type 'unsigned char *' struct logininfo *login_alloc_entry(int pid, const char *username, ^ svr-chansession.c: In function 'closechansess': svr-chansession.c:314:3: warning: pointer targets in passing argument 1 of 'pty_release' differ in signedness [-Wpointer-sign] pty_release(chansess->tty); ^ In file included from svr-chansession.c:32:0: sshpty.h:23:7: note: expected 'const char *' but argument is of type 'unsigned char *' void pty_release(const char *); ^ svr-chansession.c: In function 'chansessionrequest': svr-chansession.c:366:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(type, "window-change") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:366:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(type, "window-change") == 0) { ^ svr-chansession.c:366:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:366:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:366:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(type, "window-change") == 0) { ^ svr-chansession.c:366:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:366:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:366:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:366:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:366:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:368:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "shell") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:368:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "shell") == 0) { ^ svr-chansession.c:368:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:368:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:368:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "shell") == 0) { ^ svr-chansession.c:368:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:368:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:368:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:368:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:368:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:370:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "pty-req") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:370:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "pty-req") == 0) { ^ svr-chansession.c:370:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:370:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:370:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "pty-req") == 0) { ^ svr-chansession.c:370:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:370:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:370:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:370:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:370:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:372:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "exec") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:372:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "exec") == 0) { ^ svr-chansession.c:372:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:372:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:372:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "exec") == 0) { ^ svr-chansession.c:372:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:372:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:372:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:372:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:372:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:374:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "subsystem") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:374:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "subsystem") == 0) { ^ svr-chansession.c:374:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:374:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:374:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "subsystem") == 0) { ^ svr-chansession.c:374:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:374:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:374:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:374:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:374:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:377:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "x11-req") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:377:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "x11-req") == 0) { ^ svr-chansession.c:377:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:377:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:377:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "x11-req") == 0) { ^ svr-chansession.c:377:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:377:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:377:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:377:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:377:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:381:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "auth-agent-req@openssh.com") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:381:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "auth-agent-req@openssh.com") == 0) { ^ svr-chansession.c:381:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:381:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:381:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "auth-agent-req@openssh.com") == 0) { ^ svr-chansession.c:381:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:381:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:381:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:381:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:381:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:384:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "signal") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:384:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "signal") == 0) { ^ svr-chansession.c:384:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:384:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:384:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "signal") == 0) { ^ svr-chansession.c:384:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:384:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:384:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:384:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:384:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c: In function 'sessionsignal': svr-chansession.c:421:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(signames[i].name, signame) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:421:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(signames[i].name, signame) == 0) { ^ svr-chansession.c:421:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:421:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:421:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:421:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:421:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(signames[i].name, signame) == 0) { ^ svr-chansession.c:421:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:421:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:421:3: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c: In function 'sessionpty': svr-chansession.c:581:2: warning: pointer targets in passing argument 3 of 'pty_allocate' differ in signedness [-Wpointer-sign] if (pty_allocate(&chansess->master, &chansess->slave, namebuf, 64) == 0) { ^ In file included from svr-chansession.c:32:0: sshpty.h:22:6: note: expected 'char *' but argument is of type 'unsigned char *' int pty_allocate(int *, int *, char *, int); ^ svr-chansession.c:586:2: warning: pointer targets in passing argument 1 of 'm_strdup' differ in signedness [-Wpointer-sign] chansess->tty = (char*)m_strdup(namebuf); ^ In file included from session.h:40:0, from svr-chansession.c:28: dbutil.h:92:8: note: expected 'const char *' but argument is of type 'unsigned char *' void * m_strdup(const char * str); ^ svr-chansession.c:586:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] chansess->tty = (char*)m_strdup(namebuf); ^ svr-chansession.c:594:2: warning: pointer targets in passing argument 2 of 'pty_setowner' differ in signedness [-Wpointer-sign] pty_setowner(pw, chansess->tty); ^ In file included from svr-chansession.c:32:0: sshpty.h:26:7: note: expected 'const char *' but argument is of type 'unsigned char *' void pty_setowner(struct passwd *, const char *); ^ svr-chansession.c: In function 'sessioncommand': svr-chansession.c:660:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((cmdlen == 4) && strncmp(chansess->cmd, "sftp", 4) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:660:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((cmdlen == 4) && strncmp(chansess->cmd, "sftp", 4) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:660:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ((cmdlen == 4) && strncmp(chansess->cmd, "sftp", 4) == 0) { ^ svr-chansession.c:660:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:660:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-chansession.c:660:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ((cmdlen == 4) && strncmp(chansess->cmd, "sftp", 4) == 0) { ^ svr-chansession.c:660:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:660:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:660:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:660:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-chansession.c:660:4: note: expected 'const char *' but argument is of type 'unsigned char *' svr-chansession.c:660:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-chansession.c:25: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ svr-chansession.c: In function 'ptycommand': svr-chansession.c:797:3: warning: pointer targets in passing argument 2 of 'pty_make_controlling_tty' differ in signedness [-Wpointer-sign] pty_make_controlling_tty(&chansess->slave, chansess->tty); ^ In file included from svr-chansession.c:32:0: sshpty.h:24:7: note: expected 'const char *' but argument is of type 'unsigned char *' void pty_make_controlling_tty(int *, const char *); ^ svr-chansession.c: In function 'execchild': svr-chansession.c:951:3: warning: pointer targets in passing argument 2 of 'addnewvar' differ in signedness [-Wpointer-sign] addnewvar("TERM", chansess->term); ^ In file included from auth.h:30:0, from session.h:33, from svr-chansession.c:28: chansession.h:87:6: note: expected 'const char *' but argument is of type 'unsigned char *' void addnewvar(const char* param, const char* var); ^ svr-chansession.c:955:3: warning: pointer targets in passing argument 2 of 'addnewvar' differ in signedness [-Wpointer-sign] addnewvar("SSH_TTY", chansess->tty); ^ In file included from auth.h:30:0, from session.h:33, from svr-chansession.c:28: chansession.h:87:6: note: expected 'const char *' but argument is of type 'unsigned char *' void addnewvar(const char* param, const char* var); ^ svr-chansession.c:987:2: warning: pointer targets in passing argument 1 of 'run_shell_command' differ in signedness [-Wpointer-sign] run_shell_command(chansess->cmd, ses.maxfd, usershell); ^ In file included from session.h:40:0, from svr-chansession.c:28: dbutil.h:81:6: note: expected 'const char *' but argument is of type 'unsigned char *' void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-x11fwd.o svr-x11fwd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-tcpfwd.o svr-tcpfwd.c svr-x11fwd.c: In function 'x11req': svr-x11fwd.c:61:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] chansess->x11authprot = buf_getstring(ses.payload, NULL); ^ svr-x11fwd.c:62:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] chansess->x11authcookie = buf_getstring(ses.payload, NULL); ^ svr-x11fwd.c: In function 'x11accept': svr-x11fwd.c:116:28: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] fd = accept(sock, (struct sockaddr*)&addr, &len); ^ In file included from includes.h:36:0, from svr-x11fwd.c:25: /usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ svr-x11fwd.c: In function 'send_msg_channel_open_x11': svr-x11fwd.c:206:3: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, ipstring, strlen(ipstring)); ^ In file included from channel.h:29:0, from chansession.h:29, from x11fwd.h:29, from svr-x11fwd.c:28: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o svr-authpam.o svr-authpam.c svr-tcpfwd.c: In function 'recv_msg_global_request_remotetcp': svr-tcpfwd.c:87:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp("tcpip-forward", reqname) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:87:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp("tcpip-forward", reqname) == 0) { ^ svr-tcpfwd.c:87:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:87:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:87:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:87:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:87:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp("tcpip-forward", reqname) == 0) { ^ svr-tcpfwd.c:87:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:87:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:87:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:89:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp("cancel-tcpip-forward", reqname) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:89:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp("cancel-tcpip-forward", reqname) == 0) { ^ svr-tcpfwd.c:89:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:89:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:89:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:89:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:89:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp("cancel-tcpip-forward", reqname) == 0) { ^ svr-tcpfwd.c:89:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:89:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:89:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c: In function 'matchtcp': svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && (strcmp(info1->listenaddr, info2->listenaddr) == 0); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char * const' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && (strcmp(info1->listenaddr, info2->listenaddr) == 0); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char * const' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && (strcmp(info1->listenaddr, info2->listenaddr) == 0); ^ svr-tcpfwd.c:116:4: note: expected 'const char *' but argument is of type 'unsigned char * const' svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:116:4: note: expected 'const char *' but argument is of type 'unsigned char * const' svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char * const' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && (strcmp(info1->listenaddr, info2->listenaddr) == 0); ^ svr-tcpfwd.c:116:4: note: expected 'const char *' but argument is of type 'unsigned char * const' svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:116:4: note: expected 'const char *' but argument is of type 'unsigned char * const' svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char * const' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && (strcmp(info1->listenaddr, info2->listenaddr) == 0); ^ svr-tcpfwd.c:116:4: note: expected 'const char *' but argument is of type 'unsigned char * const' svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:116:4: note: expected 'const char *' but argument is of type 'unsigned char * const' svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:116:4: note: expected 'const char *' but argument is of type 'unsigned char * const' svr-tcpfwd.c:116:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:116:4: note: expected 'const char *' but argument is of type 'unsigned char * const' svr-tcpfwd.c: In function 'svr_remotetcpreq': svr-tcpfwd.c:195:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!opts.listen_fwd_all || (strcmp(request_addr, "localhost") == 0) ) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:195:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!opts.listen_fwd_all || (strcmp(request_addr, "localhost") == 0) ) { ^ svr-tcpfwd.c:195:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:195:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from svr-tcpfwd.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ svr-tcpfwd.c:195:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!opts.listen_fwd_all || (strcmp(request_addr, "localhost") == 0) ) { ^ svr-tcpfwd.c:195:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:195:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:195:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c:195:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] svr-tcpfwd.c:195:2: note: expected 'const char *' but argument is of type 'unsigned char *' svr-tcpfwd.c: In function 'newtcpdirect': svr-tcpfwd.c:250:2: warning: pointer targets in passing argument 2 of 'buf_getstring' differ in signedness [-Wpointer-sign] desthost = buf_getstring(ses.payload, &len); ^ In file included from channel.h:29:0, from tcpfwd.h:27, from svr-tcpfwd.c:28: buffer.h:57:16: note: expected 'unsigned int *' but argument is of type 'int *' unsigned char* buf_getstring(buffer* buf, unsigned int *retlen); ^ svr-tcpfwd.c:258:2: warning: pointer targets in passing argument 2 of 'buf_getstring' differ in signedness [-Wpointer-sign] orighost = buf_getstring(ses.payload, &len); ^ In file included from channel.h:29:0, from tcpfwd.h:27, from svr-tcpfwd.c:28: buffer.h:57:16: note: expected 'unsigned int *' but argument is of type 'int *' unsigned char* buf_getstring(buffer* buf, unsigned int *retlen); ^ svr-tcpfwd.c:273:2: warning: pointer targets in passing argument 1 of 'connect_remote' differ in signedness [-Wpointer-sign] sock = connect_remote(desthost, portstring, 1, NULL); ^ In file included from svr-tcpfwd.c:29:0: dbutil.h:85:5: note: expected 'const char *' but argument is of type 'unsigned char *' int connect_remote(const char* remotehost, const char* remoteport, ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-main.o cli-main.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-auth.o cli-auth.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-authpasswd.o cli-authpasswd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-kex.o cli-kex.c cli-auth.c: In function 'cli_auth_getmethods': cli-auth.c:47:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] strlen(cli_opts.username)); ^ In file included from session.h:30:0, from cli-auth.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-auth.c:49:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] SSH_SERVICE_CONNECTION_LEN); ^ In file included from session.h:30:0, from cli-auth.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-auth.c:50:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "none", 4); /* 'none' method */ ^ In file included from session.h:30:0, from cli-auth.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-auth.c: In function 'recv_msg_userauth_failure': cli-auth.c:231:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_PUBKEY, tok, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:231:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_PUBKEY, tok, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:231:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_PUBKEY, tok, ^ cli-auth.c:231:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:231:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-auth.c:231:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:231:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:231:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_PUBKEY, tok, ^ cli-auth.c:231:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:231:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-auth.c:231:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:231:4: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ cli-auth.c:237:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_INTERACT, tok, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:237:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_INTERACT, tok, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:237:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_INTERACT, tok, ^ cli-auth.c:237:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:237:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-auth.c:237:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:237:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:237:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_INTERACT, tok, ^ cli-auth.c:237:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:237:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-auth.c:237:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:237:4: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ cli-auth.c:243:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_PASSWORD, tok, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:243:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_PASSWORD, tok, ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:243:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_PASSWORD, tok, ^ cli-auth.c:243:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:243:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-auth.c:243:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:243:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-auth.c:243:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(AUTH_METHOD_PASSWORD, tok, ^ cli-auth.c:243:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:243:4: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-auth.c:243:4: note: expected 'const char *' but argument is of type 'unsigned char *' cli-auth.c:243:4: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-auth.c:26: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-session.o cli-session.c cli-authpasswd.c: In function 'cli_auth_password': cli-authpasswd.c:144:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] strlen(cli_opts.username)); ^ In file included from cli-authpasswd.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authpasswd.c:147:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] SSH_SERVICE_CONNECTION_LEN); ^ In file included from cli-authpasswd.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authpasswd.c:150:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] AUTH_METHOD_PASSWORD_LEN); ^ In file included from cli-authpasswd.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authpasswd.c:154:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, password, strlen(password)); ^ In file included from cli-authpasswd.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-runopts.o cli-runopts.c cli-kex.c: In function 'checkhostkey': cli-kex.c:325:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen), ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-kex.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-kex.c:325:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen), ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-kex.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-kex.c:325:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen), ^ cli-kex.c:325:3: note: expected 'const char *' but argument is of type 'unsigned char *' cli-kex.c:325:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-kex.c:325:3: note: expected 'const char *' but argument is of type 'unsigned char *' cli-kex.c:325:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-kex.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-kex.c:325:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen), ^ cli-kex.c:325:3: note: expected 'const char *' but argument is of type 'unsigned char *' cli-kex.c:325:3: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-kex.c:325:3: note: expected 'const char *' but argument is of type 'unsigned char *' cli-kex.c:325:3: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-kex.c:26: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ cli-kex.c:337:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algoname, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-kex.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-kex.c:337:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algoname, algolen) != 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-kex.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-kex.c:337:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algoname, algolen) != 0) { ^ cli-kex.c:337:3: note: expected 'const char *' but argument is of type 'unsigned char *' cli-kex.c:337:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-kex.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-kex.c:337:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(buf_getptr(line, algolen), algoname, algolen) != 0) { ^ cli-kex.c:337:3: note: expected 'const char *' but argument is of type 'unsigned char *' cli-kex.c:337:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-kex.c:337:3: note: expected 'const char *' but argument is of type 'unsigned char *' cli-kex.c:337:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-kex.c:337:3: note: expected 'const char *' but argument is of type 'unsigned char *' cli-kex.c:337:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-kex.c:26: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ cli-kex.c:350:7: warning: pointer targets in passing argument 3 of 'cmp_base64_key' differ in signedness [-Wpointer-sign] line, &fingerprint); ^ In file included from session.h:31:0, from cli-kex.c:27: signkey.h:98:5: note: expected 'const unsigned char *' but argument is of type 'const char *' int cmp_base64_key(const unsigned char* keyblob, unsigned int keybloblen, ^ cli-kex.c:385:3: warning: pointer targets in passing argument 2 of 'buf_putbytes' differ in signedness [-Wpointer-sign] buf_putbytes(line, cli_opts.remotehost, hostlen); ^ In file included from session.h:30:0, from cli-kex.c:27: buffer.h:63:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); ^ cli-kex.c:387:3: warning: pointer targets in passing argument 2 of 'buf_putbytes' differ in signedness [-Wpointer-sign] buf_putbytes(line, algoname, algolen); ^ In file included from session.h:30:0, from cli-kex.c:27: buffer.h:63:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-chansession.o cli-chansession.c cli-session.c: In function 'send_msg_service_request': cli-session.c:179:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, servicename, strlen(servicename)); ^ In file included from session.h:30:0, from cli-session.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-runopts.c: In function 'addforward': cli-runopts.c:779:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] newfwd->listenaddr = listenaddr; ^ cli-runopts.c:780:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] newfwd->connectaddr = connectaddr; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-authpubkey.o cli-authpubkey.c cli-chansession.c: In function 'cli_chansessreq': cli-chansession.c:67:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(type, "exit-status") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-chansession.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-tcpfwd.o cli-tcpfwd.c cli-chansession.c:67:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(type, "exit-status") == 0) { ^ cli-chansession.c:67:2: note: expected 'const char *' but argument is of type 'unsigned char *' cli-chansession.c:67:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-chansession.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-chansession.c:67:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(type, "exit-status") == 0) { ^ cli-chansession.c:67:2: note: expected 'const char *' but argument is of type 'unsigned char *' cli-chansession.c:67:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-chansession.c:67:2: note: expected 'const char *' but argument is of type 'unsigned char *' cli-chansession.c:67:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-chansession.c:67:2: note: expected 'const char *' but argument is of type 'unsigned char *' cli-chansession.c:70:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "exit-signal") == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-chansession.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-chansession.c:70:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "exit-signal") == 0) { ^ cli-chansession.c:70:2: note: expected 'const char *' but argument is of type 'unsigned char *' cli-chansession.c:70:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-chansession.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-chansession.c:70:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(type, "exit-signal") == 0) { ^ cli-chansession.c:70:2: note: expected 'const char *' but argument is of type 'unsigned char *' cli-chansession.c:70:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-chansession.c:70:2: note: expected 'const char *' but argument is of type 'unsigned char *' cli-chansession.c:70:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-chansession.c:70:2: note: expected 'const char *' but argument is of type 'unsigned char *' cli-chansession.c: In function 'cli_chansess_winchange': cli-chansession.c:264:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "window-change", 13); ^ In file included from cli-chansession.c:28:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-chansession.c: In function 'send_chansess_pty_req': cli-chansession.c:279:2: warning: pointer targets in passing argument 2 of 'start_send_channel_request' differ in signedness [-Wpointer-sign] start_send_channel_request(channel, "pty-req"); ^ In file included from chansession.h:29:0, from auth.h:30, from session.h:33, from cli-chansession.c:29: channel.h:134:6: note: expected 'unsigned char *' but argument is of type 'char *' void start_send_channel_request(struct Channel *channel, unsigned char *type); ^ cli-chansession.c:285:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] term = getenv("TERM"); ^ cli-chansession.c:287:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] term = "vt100"; /* Seems a safe default */ ^ cli-chansession.c:289:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, term, strlen(term)); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-chansession.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-chansession.c: In function 'send_chansess_shell_req': cli-chansession.c:314:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reqtype = "subsystem"; ^ cli-chansession.c:316:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reqtype = "exec"; ^ cli-chansession.c:319:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reqtype = "shell"; ^ cli-chansession.c:327:3: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, cli_opts.cmd, strlen(cli_opts.cmd)); ^ In file included from cli-chansession.c:28:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-chansession.c: In function 'cli_send_netcat_request': cli-chansession.c:395:37: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const unsigned char* source_host = "127.0.0.1"; ^ cli-chansession.c:407:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] strlen(cli_opts.netcat_host)); ^ In file included from cli-chansession.c:28:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-chansession.c:411:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, source_host, strlen(source_host)); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-chansession.c:26: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ cli-authpubkey.c: In function 'recv_msg_userauth_pk_ok': cli-authpubkey.c:66:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] algotype = buf_getstring(ses.payload, &algolen); ^ cli-authpubkey.c: In function 'send_msg_userauth_pubkey': cli-authpubkey.c:153:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] strlen(cli_opts.username)); ^ In file included from cli-authpubkey.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authpubkey.c:156:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] SSH_SERVICE_CONNECTION_LEN); ^ In file included from cli-authpubkey.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authpubkey.c:159:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] AUTH_METHOD_PUBKEY_LEN); ^ In file included from cli-authpubkey.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authpubkey.c:163:2: warning: pointer targets in passing argument 2 of 'signkey_name_from_type' differ in signedness [-Wpointer-sign] algoname = signkey_name_from_type(type, &algolen); ^ In file included from session.h:31:0, from cli-authpubkey.c:29: signkey.h:86:13: note: expected 'unsigned int *' but argument is of type 'int *' const char* signkey_name_from_type(enum signkey_type type, unsigned int *namelen); ^ cli-authpubkey.c:165:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, algoname, algolen); ^ In file included from cli-authpubkey.c:27:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-tcpfwd.c: In function 'setup_localtcp': cli-tcpfwd.c:75:5: warning: pointer targets in passing argument 1 of 'cli_localtcp' differ in signedness [-Wpointer-sign] fwd->connectport); ^ cli-tcpfwd.c:48:12: note: expected 'const char *' but argument is of type 'const unsigned char *' static int cli_localtcp(const char* listenaddr, ^ cli-tcpfwd.c:75:5: warning: pointer targets in passing argument 3 of 'cli_localtcp' differ in signedness [-Wpointer-sign] fwd->connectport); ^ cli-tcpfwd.c:48:12: note: expected 'const char *' but argument is of type 'const unsigned char *' static int cli_localtcp(const char* listenaddr, ^ cli-tcpfwd.c: In function 'send_msg_global_request_remotetcp': cli-tcpfwd.c:138:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "tcpip-forward", 13); ^ In file included from dbutil.h:30:0, from cli-tcpfwd.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-tcpfwd.c:140:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, addr, strlen(addr)); ^ In file included from dbutil.h:30:0, from cli-tcpfwd.c:27: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-tcpfwd.c: In function 'setup_remotetcp': cli-tcpfwd.c:205:3: warning: pointer targets in passing argument 1 of 'send_msg_global_request_remotetcp' differ in signedness [-Wpointer-sign] send_msg_global_request_remotetcp(fwd->listenaddr, fwd->listenport); ^ cli-tcpfwd.c:132:13: note: expected 'const char *' but argument is of type 'const unsigned char *' static void send_msg_global_request_remotetcp(const char *addr, int port) { ^ cli-tcpfwd.c: In function 'newtcpforwarded': cli-tcpfwd.c:221:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] origaddr = buf_getstring(ses.payload, NULL); ^ cli-tcpfwd.c:229:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] && strcmp(origaddr, fwd->listenaddr) == 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-tcpfwd.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ cli-tcpfwd.c:229:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && strcmp(origaddr, fwd->listenaddr) == 0) { ^ cli-tcpfwd.c:229:5: note: expected 'const char *' but argument is of type 'const unsigned char *' cli-tcpfwd.c:229:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-tcpfwd.c:229:5: note: expected 'const char *' but argument is of type 'const unsigned char *' cli-tcpfwd.c:229:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-tcpfwd.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const unsigned char *' extern size_t strlen (const char *__s) ^ cli-tcpfwd.c:229:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] && strcmp(origaddr, fwd->listenaddr) == 0) { ^ cli-tcpfwd.c:229:5: note: expected 'const char *' but argument is of type 'const unsigned char *' cli-tcpfwd.c:229:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] cli-tcpfwd.c:229:5: note: expected 'const char *' but argument is of type 'const unsigned char *' cli-tcpfwd.c:250:10: warning: pointer targets in passing argument 1 of 'cleantext' differ in signedness [-Wpointer-sign] cleantext(origaddr); ^ In file included from cli-tcpfwd.c:31:0: session.h:64:6: note: expected 'unsigned char *' but argument is of type 'char *' void cleantext(unsigned char* dirtytext); ^ cli-tcpfwd.c:257:2: warning: pointer targets in passing argument 1 of 'connect_remote' differ in signedness [-Wpointer-sign] sock = connect_remote(fwd->connectaddr, portstring, 1, NULL); ^ In file included from cli-tcpfwd.c:27:0: dbutil.h:85:5: note: expected 'const char *' but argument is of type 'const unsigned char *' int connect_remote(const char* remotehost, const char* remoteport, ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-channel.o cli-channel.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-authinteract.o cli-authinteract.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o cli-agentfwd.o cli-agentfwd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o list.o list.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o dropbearkey.o dropbearkey.c cli-authinteract.c: In function 'recv_msg_userauth_info_request': cli-authinteract.c:104:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(name) > 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-authinteract.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-authinteract.c:110:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(instruction) > 0) { ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-authinteract.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-authinteract.c:124:4: warning: pointer targets in passing argument 1 of 'getpass_or_cancel' differ in signedness [-Wpointer-sign] unsigned char* p = getpass_or_cancel(prompt); ^ In file included from session.h:33:0, from cli-authinteract.c:28: auth.h:77:7: note: expected 'char *' but argument is of type 'unsigned char *' char* getpass_or_cancel(char* prompt); ^ cli-authinteract.c:124:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char* p = getpass_or_cancel(prompt); ^ cli-authinteract.c:125:4: warning: pointer targets in passing argument 1 of 'm_strdup' differ in signedness [-Wpointer-sign] response = m_strdup(p); ^ In file included from cli-authinteract.c:27:0: dbutil.h:92:8: note: expected 'const char *' but argument is of type 'unsigned char *' void * m_strdup(const char * str); ^ cli-authinteract.c:126:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] m_burn(p, strlen(p)); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-authinteract.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-authinteract.c:131:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] response_len = strlen(response); ^ In file included from /usr/include/sys/un.h:37:0, from includes.h:39, from cli-authinteract.c:25: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ cli-authinteract.c: In function 'cli_auth_interactive': cli-authinteract.c:153:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] strlen(cli_opts.username)); ^ In file included from cli-authinteract.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authinteract.c:157:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] SSH_SERVICE_CONNECTION_LEN); ^ In file included from cli-authinteract.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authinteract.c:161:4: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] AUTH_METHOD_INTERACT_LEN); ^ In file included from cli-authinteract.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authinteract.c:164:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "", 0); ^ In file included from cli-authinteract.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-authinteract.c:167:2: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(ses.writepayload, "", 0); ^ In file included from cli-authinteract.c:26:0: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ cli-agentfwd.c: In function 'cli_setup_agent': cli-agentfwd.c:238:2: warning: pointer targets in passing argument 2 of 'start_send_channel_request' differ in signedness [-Wpointer-sign] start_send_channel_request(channel, "auth-agent-req@openssh.com"); ^ In file included from chansession.h:29:0, from agentfwd.h:28, from cli-agentfwd.c:29: channel.h:134:6: note: expected 'unsigned char *' but argument is of type 'char *' void start_send_channel_request(struct Channel *channel, unsigned char *type); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o dropbearconvert.o dropbearconvert.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -o keyimport.o keyimport.c gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dropbear dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o dbrandom.o queue.o atomicio.o compat.o fake-rfc2553.o ltc_prng.o ecc.o ecdsa.o crypto_desc.o gensignkey.o gendss.o genrsa.o common-session.o packet.o common-algo.o common-kex.o common-channel.o common-chansession.o termcodes.o loginrec.o tcp-accept.o listener.o process-packet.o common-runopts.o circbuffer.o curve25519-donna.o svr-kex.o svr-auth.o sshpty.o svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-session.o svr-service.o svr-chansession.o svr-runopts.o svr-agentfwd.o svr-main.o svr-x11fwd.o svr-tcpfwd.o svr-authpam.o -ltommath -ltomcrypt -lutil -lpam -lz -lcrypt keyimport.c: In function 'base64_encode_fp': keyimport.c:206:3: warning: pointer targets in passing argument 3 of 'base64_encode' differ in signedness [-Wpointer-sign] base64_encode(data, n, out, &outlen); ^ In file included from /usr/include/tomcrypt.h:74:0, from includes.h:131, from keyimport.h:28, from keyimport.c:33: /usr/include/tomcrypt_misc.h:3:5: note: expected 'unsigned char *' but argument is of type 'char *' int base64_encode(const unsigned char *in, unsigned long len, ^ keyimport.c: In function 'load_openssh_key': keyimport.c:449:7: warning: pointer targets in passing argument 1 of 'base64_decode' differ in signedness [-Wpointer-sign] ret->keyblob + ret->keyblob_len, &outlen) != CRYPT_OK){ ^ In file included from /usr/include/tomcrypt.h:74:0, from includes.h:131, from keyimport.h:28, from keyimport.c:33: /usr/include/tomcrypt_misc.h:6:5: note: expected 'const unsigned char *' but argument is of type 'char *' int base64_decode(const unsigned char *in, unsigned long len, ^ keyimport.c: In function 'openssh_read': keyimport.c:607:3: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(blobbuf, "ssh-dss", 7); ^ In file included from signkey.h:28:0, from keyimport.h:29, from keyimport.c:33: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ keyimport.c:613:3: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(blobbuf, "ssh-rsa", 7); ^ In file included from signkey.h:28:0, from keyimport.h:29, from keyimport.c:33: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ keyimport.c:656:6: warning: pointer targets in passing argument 2 of 'buf_putstring' differ in signedness [-Wpointer-sign] buf_putstring(blobbuf, modptr, modlen); ^ In file included from signkey.h:28:0, from keyimport.h:29, from keyimport.c:33: buffer.h:61:6: note: expected 'const unsigned char *' but argument is of type 'char *' void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); ^ gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dbclient dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o dbrandom.o queue.o atomicio.o compat.o fake-rfc2553.o ltc_prng.o ecc.o ecdsa.o crypto_desc.o gensignkey.o gendss.o genrsa.o common-session.o packet.o common-algo.o common-kex.o common-channel.o common-chansession.o termcodes.o loginrec.o tcp-accept.o listener.o process-packet.o common-runopts.o circbuffer.o curve25519-donna.o cli-main.o cli-auth.o cli-authpasswd.o cli-kex.o cli-session.o cli-runopts.o cli-chansession.o cli-authpubkey.o cli-tcpfwd.o cli-channel.o cli-authinteract.o cli-agentfwd.o list.o -ltommath -ltomcrypt -lutil -lpam -lz gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dropbearkey dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o dbrandom.o queue.o atomicio.o compat.o fake-rfc2553.o ltc_prng.o ecc.o ecdsa.o crypto_desc.o gensignkey.o gendss.o genrsa.o dropbearkey.o -ltommath -ltomcrypt gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dropbearconvert dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o dbrandom.o queue.o atomicio.o compat.o fake-rfc2553.o ltc_prng.o ecc.o ecdsa.o crypto_desc.o gensignkey.o gendss.o genrsa.o dropbearconvert.o keyimport.o -ltommath -ltomcrypt + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9DUZ4p + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm ++ dirname /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm + cd dropbear-2015.67 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/sbin install dropbear /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/sbin install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/man/man8 install -m 644 ./dropbear.8 /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/man/man8/dropbear.8 install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin install dbclient /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/man/man1 if test -e dbclient.1; then install -m 644 dbclient.1 /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/man/man1/dbclient.1; fi install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin install dropbearkey /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/man/man1 if test -e dropbearkey.1; then install -m 644 dropbearkey.1 /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/man/man1/dropbearkey.1; fi install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin install dropbearconvert /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/man/man1 if test -e dropbearconvert.1; then install -m 644 dropbearconvert.1 /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/man/man1/dropbearconvert.1; fi + install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/etc/dropbear + install -d /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/lib/systemd/system + install -pm644 /builddir/build/SOURCES/dropbear.service /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/lib/systemd/system/dropbear.service + install -pm644 /builddir/build/SOURCES/dropbear-keygen.service /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/lib/systemd/system/dropbear-keygen.service + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/dropbear-2015.67 extracting debug info from /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin/dbclient extracting debug info from /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin/dropbearkey extracting debug info from /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/bin/dropbearconvert extracting debug info from /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/sbin/dropbear /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 1390 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: dropbear-2015.67-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Out6QM + umask 022 + cd /builddir/build/BUILD + cd dropbear-2015.67 + DOCDIR=/builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/doc/dropbear-2015.67 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/doc/dropbear-2015.67 + cp -pr CHANGES /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/doc/dropbear-2015.67 + cp -pr LICENSE /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/doc/dropbear-2015.67 + cp -pr README /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/doc/dropbear-2015.67 + cp -pr TODO /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm/usr/share/doc/dropbear-2015.67 + exit 0 Provides: dropbear = 2015.67-1.el7 dropbear(armv7hl-32) = 2015.67-1.el7 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd systemd-sysv Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypt.so.1 libcrypt.so.1(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpam.so.0 libtomcrypt.so.0 libtommath.so.0 libutil.so.1 libutil.so.1(GLIBC_2.4) libz.so.1 rtld(GNU_HASH) Processing files: dropbear-debuginfo-2015.67-1.el7.armv7hl Provides: dropbear-debuginfo = 2015.67-1.el7 dropbear-debuginfo(armv7hl-32) = 2015.67-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm Wrote: /builddir/build/RPMS/dropbear-2015.67-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/dropbear-debuginfo-2015.67-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3fpIbE + umask 022 + cd /builddir/build/BUILD + cd dropbear-2015.67 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dropbear-2015.67-1.el7.arm + exit 0 Child return code was: 0 LEAVE do -->