git: 7220a45bccbd - main - freebsd-update: rsautl is deprecated, use pkeyutl

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 07 Jul 2024 11:47:02 UTC
The branch main has been updated by imp:

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

commit 7220a45bccbd0496b1cf304f236d3f9d2e15e7d3
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2024-06-24 07:08:01 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-07-07 11:46:58 +0000

    freebsd-update: rsautl is deprecated, use pkeyutl
    
    The command openssl-rsautl(1) has been deprecated in OpenSSL 3.0.  The
    openssl-pkeyutl(1) command should be used instead.
    
    Signed-off-by: Jose Luis Duran <jlduran@gmail.com>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1309
---
 usr.sbin/freebsd-update/freebsd-update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
index 1456601edf26..459d54db0c57 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -1307,7 +1307,7 @@ fetch_tag () {
 		return 1
 	fi
 
-	openssl rsautl -pubin -inkey pub.ssl -verify		\
+	openssl pkeyutl -pubin -inkey pub.ssl -verifyrecover	\
 	    < latest.ssl > tag.new 2>${QUIETREDIR} || true
 	rm latest.ssl