git: 7bc06551cc7f - main - tools/cryptocheck: Fix allow_soft sysctl name

From: Justin Hibbits <jhibbits_at_FreeBSD.org>
Date: Fri, 07 Aug 2026 03:09:36 UTC
The branch main has been updated by jhibbits:

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

commit 7bc06551cc7fb56486b0ebdce1e5ab5586140c7a
Author:     Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2026-08-05 14:46:42 +0000
Commit:     Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2026-08-07 03:00:02 +0000

    tools/cryptocheck: Fix allow_soft sysctl name
---
 tools/tools/crypto/cryptocheck.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/tools/crypto/cryptocheck.c b/tools/tools/crypto/cryptocheck.c
index 46a364b0453c..559c011c0a6c 100644
--- a/tools/tools/crypto/cryptocheck.c
+++ b/tools/tools/crypto/cryptocheck.c
@@ -343,9 +343,9 @@ devcrypto(void)
 }
 
 /*
- * Called on exit to change kern.cryptodevallowsoft back to 0
+ * Called on exit to change kern.crypto.allow_soft back to 0
  */
-#define CRYPT_SOFT_ALLOW	"kern.cryptodevallowsoft"
+#define CRYPT_SOFT_ALLOW	"kern.crypto.allow_soft"
 
 static void
 reset_user_soft(void)