fetch: correct env var name for --crl option to work

Reviewed by:	grembo
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D46973
This commit is contained in:
Franco Fichtner 2024-10-07 11:36:19 +02:00 committed by Michael Gmelin
parent 2d84f79c4e
commit 1d7a33888e

View File

@ -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);