From d2fd845c35922ca73b89c617597dd5c59772e16a Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Thu, 2 Jul 2020 17:41:37 +0200 Subject: [PATCH] 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 --- src/tool_getparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool_getparam.c b/src/tool_getparam.c index 340962145..9c6bc8a14 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -813,7 +813,7 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */ break; case 'x': /* --krb */ /* kerberos level string */ - if(curlinfo->features & CURL_VERSION_KERBEROS4) + if(curlinfo->features & CURL_VERSION_SPNEGO) GetStr(&config->krblevel, nextarg); else return PARAM_LIBCURL_DOESNT_SUPPORT;