mirror of
https://github.com/curl/curl.git
synced 2026-05-28 19:37:30 +03:00
tool_getparam: add "TLS required" flag for each such option
... and check it early, once. Closes #16159
This commit is contained in:
parent
943de21619
commit
2f00a7d5a7
4 changed files with 91 additions and 113 deletions
|
|
@ -315,6 +315,7 @@ typedef enum {
|
|||
#define ARG_TYPEMASK 0x03
|
||||
#define ARGTYPE(x) ((x) & ARG_TYPEMASK)
|
||||
|
||||
#define ARG_TLS 0x40 /* requires TLS support */
|
||||
#define ARG_NO 0x80 /* set if the option is documented as --no-* */
|
||||
|
||||
struct LongShort {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue