Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 20:12:31 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c6bf965f5d1d - stable/13 - pkg: include missing <string.h>
Message-ID:  <202501122012.50CKCVS0026071@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=c6bf965f5d1d7cf32f26ecd5df0f8a5f5baebb0f

commit c6bf965f5d1d7cf32f26ecd5df0f8a5f5baebb0f
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:12:18 +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 [...]")
    
    (cherry picked from commit b8770ce1dfed52fcb7249cdf3cf4d4d16357b9fd)
---
 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?202501122012.50CKCVS0026071>