The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=ce1e7a7921b27b82d8cda499058e685250cc695a
commit ce1e7a7921b27b82d8cda499058e685250cc695a Author: Dag-Erling Smørgrav <[email protected]> AuthorDate: 2025-12-10 14:40:22 +0000 Commit: Dag-Erling Smørgrav <[email protected]> CommitDate: 2025-12-10 14:40:22 +0000 certctl: Always copy bundle fragments When processing a bundle, we split it into individual certificates stored in temporary files, then pass the name of each temporary file to the creation function. Since the temporary files will later be deleted, we need to force the creation function to copy rather than symlink these files. PR: 290957 Fixes: 986c43bd80e7 ("certctl: Add an option to copy files.") Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D54081 --- usr.sbin/certctl/certctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/certctl/certctl.sh b/usr.sbin/certctl/certctl.sh index 2bde651de126..696bc4d6a176 100755 --- a/usr.sbin/certctl/certctl.sh +++ b/usr.sbin/certctl/certctl.sh @@ -197,7 +197,7 @@ do_scan() eolcvt "$CFILE" | egrep '^(---|[0-9A-Za-z/+=]+$)' | \ split -p '^-+BEGIN CERTIFICATE-+$' - "$SPLITDIR/x" for CERT in $(find "$SPLITDIR" -type f) ; do - "$CFUNC" "$CERT" + LINK=-c "$CFUNC" "$CERT" done rm -rf "$SPLITDIR" ;;
