git: 0e8bf366e6c5 - releng/14.1 - fetch: correct env var name for --crl option to work
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Oct 2024 18:57:00 UTC
The branch releng/14.1 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=0e8bf366e6c545fc8cf430687e94f7465bd23355
commit 0e8bf366e6c545fc8cf430687e94f7465bd23355
Author: Franco Fichtner <franco@opnsense.org>
AuthorDate: 2024-10-07 09:36:19 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-10-29 18:54:17 +0000
fetch: correct env var name for --crl option to work
Reviewed by: grembo
MFC after: 3 days
Security: FreeBSD-SA-24:19.fetch
Approved by: so
Differential Revision: https://reviews.freebsd.org/D46973
(cherry picked from commit 1d7a33888e09f86feb4c2c9f9640d936be07ce9d)
(cherry picked from commit 51676e0a3bd38ab6deae27f72fb6fb6dd648825f)
---
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 8be5742386e7..6cf6a31eed2e 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);