mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-06 06:47:41 +08:00
worker: allow empty passwords
This commit is contained in:
@@ -1017,8 +1017,9 @@ int parse_reply(worker_st * ws, char *body, unsigned body_length,
|
||||
}
|
||||
|
||||
if (len == 0) {
|
||||
oclog(ws, LOG_HTTP_DEBUG,
|
||||
"cannot parse '%s' in client XML message", field);
|
||||
*value = talloc_strdup(ws->req.body, "");
|
||||
if (*value != NULL)
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
if (xml)
|
||||
|
||||
Reference in New Issue
Block a user