Skip to content

Commit d2fd845

Browse files
committed
tool_getparam: make --krb option work again
It was disabled by mistake in commit curl-7_37_1-23-ge38ba4301. Bug: https://bugzilla.redhat.com/1833193 Closes #5640
1 parent 31f0e86 commit d2fd845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tool_getparam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
813813
break;
814814
case 'x': /* --krb */
815815
/* kerberos level string */
816-
if(curlinfo->features & CURL_VERSION_KERBEROS4)
816+
if(curlinfo->features & CURL_VERSION_SPNEGO)
817817
GetStr(&config->krblevel, nextarg);
818818
else
819819
return PARAM_LIBCURL_DOESNT_SUPPORT;

0 commit comments

Comments
 (0)