git: 51676e0a3bd3 - stable/14 - fetch: correct env var name for --crl option to work

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Wed, 09 Oct 2024 11:55:23 UTC
The branch stable/14 has been updated by grembo:

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

commit 51676e0a3bd38ab6deae27f72fb6fb6dd648825f
Author:     Franco Fichtner <franco@opnsense.org>
AuthorDate: 2024-10-07 09:36:19 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2024-10-09 11:49:32 +0000

    fetch: correct env var name for --crl option to work
    
    Reviewed by:    grembo
    MFC after:      3 days
    Differential Revision: https://reviews.freebsd.org/D46973
    
    (cherry picked from commit 1d7a33888e09f86feb4c2c9f9640d936be07ce9d)
---
 usr.bin/fetch/fetch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index bb7d27d896b6..d800ebf59f11 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -1060,7 +1060,7 @@ main(int argc, char *argv[])
 			setenv("SSL_CLIENT_KEY_FILE", optarg, 1);
 			break;
 		case OPTION_SSL_CRL_FILE:
-			setenv("SSL_CLIENT_CRL_FILE", optarg, 1);
+			setenv("SSL_CRL_FILE", optarg, 1);
 			break;
 		case OPTION_SSL_NO_SSL3:
 			setenv("SSL_NO_SSL3", "", 1);