Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 20:11:39 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b8770ce1dfed - main - pkg: include missing <string.h>
Message-ID:  <202501122011.50CKBdXk023450@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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