⬢ DragonFlyBSD Kernel Audit
DF-3563 / build.log
← back to finding ↓ download raw
In file included from test_rmd160.c:6:
hexutil.h:15:13: warning: 'hexprint' defined but not used [-Wunused-function]
 static void hexprint(const unsigned char *p, size_t n) {
             ^~~~~~~~
hexutil.h:6:12: warning: 'unhex' defined but not used [-Wunused-function]
 static int unhex(const char *h, unsigned char *out, size_t max) {
            ^~~~~
test_chacha.c:13:1: warning: 'fail' defined but not used [-Wunused-function]
 fail(const char *fmt, ...) { fails++; printf("FAIL "); printf(fmt, (void*)0); printf("\n"); }
 ^~~~
In file included from test_chacha.c:7:
hexutil.h:15:13: warning: 'hexprint' defined but not used [-Wunused-function]
 static void hexprint(const unsigned char *p, size_t n) {
             ^~~~~~~~
In file included from test_chacha_ks.c:10:
hexutil.h:15:13: warning: 'hexprint' defined but not used [-Wunused-function]
 static void hexprint(const unsigned char *p, size_t n) {
             ^~~~~~~~
In file included from test_poly1305.c:6:
hexutil.h:15:13: warning: 'hexprint' defined but not used [-Wunused-function]
 static void hexprint(const unsigned char *p, size_t n) {
             ^~~~~~~~
test_des.c: In function 'main':
test_des.c:77:5: warning: 'memcpy' forming offset [9, 16] is out of the bounds [0, 8] of object 'out' with type 'des_cblock' {aka 'unsigned char[8]'} [-Warray-bounds]
     memcpy(pt, out, 16);
     ^~~~~~~~~~~~~~~~~~~
test_des.c:29:17: note: 'out' declared here
  des_cblock in, out, back;
                 ^~~
test_aead.c: In function 'run_case':
test_aead.c:122:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (al) unhex(ah, ad, al); if (ml) unhex(mh, m, ml);
  ^~
test_aead.c:122:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  if (al) unhex(ah, ad, al); if (ml) unhex(mh, m, ml);
                             ^~
In file included from test_aead.c:12:
At top level:
hexutil.h:15:13: warning: 'hexprint' defined but not used [-Wunused-function]
 static void hexprint(const unsigned char *p, size_t n) {
             ^~~~~~~~
build OK