curl: deprecate --random-file and --egd-file

As libcurl no longer has any functionality for them, the tool now does
nothing with them.

Closes #8670
This commit is contained in:
Daniel Stenberg 2022-05-17 11:06:07 +02:00
parent 8d86718f3f
commit 84052154f7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 7 additions and 10 deletions

View file

@ -667,10 +667,8 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
GetStr(&config->dns_ipv6_addr, nextarg);
break;
case 'a': /* random-file */
GetStr(&config->random_file, nextarg);
break;
case 'b': /* egd-file */
GetStr(&config->egd_file, nextarg);
break;
case 'B': /* OAuth 2.0 bearer token */
GetStr(&config->oauth_bearer, nextarg);