git: 1d7a33888e09 - main - fetch: correct env var name for --crl option to work

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Mon, 07 Oct 2024 09:41:45 UTC
The branch main has been updated by grembo:

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

commit 1d7a33888e09f86feb4c2c9f9640d936be07ce9d
Author:     Franco Fichtner <franco@opnsense.org>
AuthorDate: 2024-10-07 09:36:19 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2024-10-07 09:37:28 +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
---
 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 8b3ccbd3ab98..5e4b14289ca7 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -1059,7 +1059,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);