The branch stable/13 has been updated by grembo:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=48472457842226eb3445fd70dd995954020f0cb8

commit 48472457842226eb3445fd70dd995954020f0cb8
Author:     Franco Fichtner <fra...@opnsense.org>
AuthorDate: 2024-10-07 09:36:19 +0000
Commit:     Michael Gmelin <gre...@freebsd.org>
CommitDate: 2024-10-09 11:50:06 +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);

Reply via email to