Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 18:53:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 284021] usr.sbin/pkg/rsa.c: missing include of string.h
Message-ID:  <bug-284021-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284021

            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: bugs@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info

On stable/13:

--- rsa.o ---
/usr/src/usr.sbin/pkg/rsa.c:164:37: error: call to undeclared library funct=
ion
'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not
support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
  164 |         ret =3D rsa_verify_data(ctx, sha256, strlen(sha256), sigfil=
e,
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284021-227>