From 689450e3f2b6f6071e0e6eb19012af6cf486b632 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 28 Feb 2025 23:28:37 +0100 Subject: [PATCH] fixup another passblanks in http_ntlm.c --- lib/http_ntlm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index 2eee92742a..a2d342a7a0 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -41,6 +41,7 @@ #include "curl_base64.h" #include "vauth/vauth.h" #include "url.h" +#include "strparse.h" /* SSL backend-specific #if branches in this file must be kept in the order documented in curl_ntlm_core. */ @@ -70,9 +71,7 @@ CURLcode Curl_input_ntlm(struct Curl_easy *data, if(checkprefix("NTLM", header)) { header += strlen("NTLM"); - while(ISSPACE(*header)) - header++; - + Curl_str_passblanks(&header); if(*header) { unsigned char *hdr; size_t hdrlen;