mirror of
https://github.com/curl/curl.git
synced 2026-07-09 12:17:16 +03:00
fixup make auth_digest_string_quoted handle "" input like before
This commit is contained in:
parent
ab96ead468
commit
271bf6b55b
1 changed files with 2 additions and 0 deletions
|
|
@ -152,6 +152,8 @@ static char *auth_digest_string_quoted(const char *s)
|
|||
{
|
||||
struct dynbuf out;
|
||||
curlx_dyn_init(&out, 2048);
|
||||
if(!*s) /* for zero length input, make sure we return an empty string */
|
||||
return curlx_strdup("");
|
||||
while(*s) {
|
||||
CURLcode result;
|
||||
if(*s == '"' || *s == '\\') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue