Skip to content

Commit

Permalink
fetch: correct env var name for --crl option to work
Browse files Browse the repository at this point in the history
Reviewed by:	grembo
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D46973

(cherry picked from commit 1d7a33888e09f86feb4c2c9f9640d936be07ce9d)
  • Loading branch information
fichtner authored and bsdjhb committed Nov 11, 2024
1 parent 3dd462d commit d77ef09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr.bin/fetch/fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,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);
Expand Down

0 comments on commit d77ef09

Please sign in to comment.