configure: WARNING: unrecognized options: --with-md5-passwords
configure: WARNING: no manpage formatter found
configure: WARNING: unrecognized options: --with-md5-passwords
Makefile:729: warning: ignoring prerequisites on suffix rule definition
In file included from arc4random.c:58:
chacha_private.h:53:31: warning: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available) [-Wunterminated-string-initialization]
53 | static const char sigma[16] = "expand 32-byte k";
| ^~~~~~~~~~~~~~~~~~
chacha_private.h:54:29: warning: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available) [-Wunterminated-string-initialization]
54 | static const char tau[16] = "expand 16-byte k";
| ^~~~~~~~~~~~~~~~~~
log.c: In function ‘do_log’:
log.c:397:53: warning: ‘: ’ directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
397 | snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", msgbuf, suffix);
| ^~
In file included from /usr/include/stdio.h:906,
from /usr/include/resolv.h:58,
from openbsd-compat/getrrsetbyname.h:59,
from openbsd-compat/openbsd-compat.h:44,
from includes.h:179,
from log.c:37:
In function ‘snprintf’,
inlined from ‘do_log’ at log.c:397:3:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 1026) into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
log.c: In function ‘do_log’:
log.c:409:58: warning: ‘
’ directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
409 | snprintf(msgbuf, sizeof msgbuf, "%s%s%.*s\r\n",
| ^~~~
In function ‘snprintf’,
inlined from ‘do_log’ at log.c:409:3:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 3 and 1026 bytes into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
log.c: In function ‘sshlogv’:
log.c:465:67: warning: ‘%ld’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 111 [-Wformat-truncation=]
465 | snprintf(tag, sizeof(tag), "%.48s:%.48s():%d (bin=%s, pid=%ld)",
| ^~~
log.c:465:36: note: directive argument in the range [-2147483648, 2147483647]
465 | snprintf(tag, sizeof(tag), "%.48s:%.48s():%d (bin=%s, pid=%ld)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘sshlogv’ at log.c:465:2:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 20 or more bytes (assuming 133) into a destination of size 128
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
bcrypt_pbkdf.c: In function ‘bcrypt_hash’:
bcrypt_pbkdf.c:77:13: warning: initializer-string for array of ‘unsigned char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (33 chars into 32 available) [-Wunterminated-string-initialization]
77 | "OxychromaticBlowfishSwatDynamite";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
misc.c: In function ‘fmt_timeframe’:
misc.c:728:40: warning: ‘%02llu’ directive output may be truncated writing between 2 and 14 bytes into a region of size 9 [-Wformat-truncation=]
728 | snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs);
| ^~~~~~
misc.c:728:39: note: directive argument in the range [1, 30500568904943]
728 | snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs);
| ^~~~~~~~~~~~~~~~~~~
misc.c:728:39: note: directive argument in the range [0, 6]
misc.c:728:39: note: directive argument in the range [0, 23]
In file included from /usr/include/stdio.h:906,
from /usr/include/resolv.h:58,
from openbsd-compat/getrrsetbyname.h:59,
from openbsd-compat/openbsd-compat.h:44,
from includes.h:179,
from misc.c:21:
In function ‘snprintf’,
inlined from ‘fmt_timeframe’ at misc.c:728:3:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 9 and 21 bytes into a destination of size 9
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
chacha.c:51:31: warning: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available) [-Wunterminated-string-initialization]
51 | static const char sigma[16] = "expand 32-byte k";
| ^~~~~~~~~~~~~~~~~~
chacha.c:52:29: warning: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (17 chars into 16 available) [-Wunterminated-string-initialization]
52 | static const char tau[16] = "expand 16-byte k";
| ^~~~~~~~~~~~~~~~~~
vis.c: In function ‘stravis’:
vis.c:229:23: warning: pointer ‘buf’ may be used after ‘realloc’ [-Wuse-after-free]
229 | *outp = buf;
| ~~~~~~^~~~~
vis.c:227:17: note: call to ‘realloc’ here
227 | *outp = realloc(buf, len + 1);
| ^~~~~~~~~~~~~~~~~~~~~
ar: creating libopenbsd-compat.a
ssh-keygen.c: In function ‘do_gen_all_hostkeys’:
ssh-keygen.c:1077:55: warning: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=]
1077 | snprintf(comment, sizeof comment, "%s@%s", pw->pw_name,
| ^~
1078 | hostname);
| ~~~~~~~~
In file included from /usr/include/stdio.h:906,
from /usr/include/resolv.h:58,
from openbsd-compat/getrrsetbyname.h:59,
from openbsd-compat/openbsd-compat.h:44,
from includes.h:179,
from ssh-keygen.c:15:
In function ‘snprintf’,
inlined from ‘do_gen_all_hostkeys’ at ssh-keygen.c:1077:3:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 1026) into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
ssh-keygen.c: In function ‘do_convert_to’:
ssh-keygen.c:341:41: warning: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 39 [-Wformat-truncation=]
341 | "%u-bit %s, converted by %s@%s from OpenSSH",
| ^~
342 | sshkey_size(k), sshkey_type(k),
343 | pw->pw_name, hostname);
| ~~~~~~~~
In function ‘snprintf’,
inlined from ‘do_convert_to_ssh2’ at ssh-keygen.c:340:2,
inlined from ‘do_convert_to’ at ssh-keygen.c:411:3:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 36 or more bytes (assuming 1060) into a destination of size 61
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
ssh-keygen.c: In function ‘main’:
ssh-keygen.c:3871:55: warning: ‘%s’ directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=]
3871 | snprintf(comment, sizeof comment, "%s@%s", pw->pw_name, hostname);
| ^~ ~~~~~~~~
In function ‘snprintf’,
inlined from ‘main’ at ssh-keygen.c:3871:3:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 1026) into a destination of size 1024
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
scp.c: In function ‘rsource’:
scp.c:1533:56: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 2 and 4095 [-Wformat-truncation=]
1533 | (void) snprintf(path, sizeof path, "%s/%s", name, dp->d_name);
| ^~
In file included from /usr/include/stdio.h:906,
from /usr/include/resolv.h:58,
from openbsd-compat/getrrsetbyname.h:59,
from openbsd-compat/openbsd-compat.h:44,
from includes.h:179,
from scp.c:74:
In function ‘snprintf’,
inlined from ‘rsource’ at scp.c:1533:10:
/usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4350 bytes into a destination of size 4096
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
ar: creating libssh.a
Makefile:729: warning: ignoring prerequisites on suffix rule definition
sshd: no hostkeys available -- exiting.
make: [Makefile:420: check-config] Error 1 (ignored)
[01;33m/usr/libexec/ssh-keysign has suid bit set
[0m[01;33m*** 0 error(s), 1 warning(s)
[0m