https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284021

            Bug ID: 284021
           Summary: usr.sbin/pkg/rsa.c: missing include of string.h
           Product: Base System
           Version: 13.4-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: trond.endres...@ximalas.info

On stable/13:

--- rsa.o ---
/usr/src/usr.sbin/pkg/rsa.c:164:37: error: call to undeclared library function
'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not
support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
  164 |         ret = rsa_verify_data(ctx, sha256, strlen(sha256), sigfile,
key, keylen,
      |                                            ^
/usr/src/usr.sbin/pkg/rsa.c:164:37: note: include the header <string.h> or
explicitly provide a declaration for 'strlen'
1 error generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to