git: b8770ce1dfed - main - pkg: include missing <string.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 20:11:39 UTC
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=b8770ce1dfed52fcb7249cdf3cf4d4d16357b9fd commit b8770ce1dfed52fcb7249cdf3cf4d4d16357b9fd Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2025-01-12 20:08:41 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2025-01-12 20:11:22 +0000 pkg: include missing <string.h> My local environment seems to be seeing some pollution; we need <string.h> for strlen. PR: 284021 Fixes: 2e065d74a5b0e ("pkg: add a pkgsign_verify_data [...]") MFC after: immediately (trivial build fix) --- usr.sbin/pkg/rsa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/pkg/rsa.c b/usr.sbin/pkg/rsa.c index b28f44ec1953..0056ccb595a9 100644 --- a/usr.sbin/pkg/rsa.c +++ b/usr.sbin/pkg/rsa.c @@ -32,6 +32,7 @@ #include <err.h> #include <stdbool.h> +#include <string.h> #include <openssl/err.h> #include <openssl/ssl.h>