Skip to content

Commit

Permalink
Patch certificate login error for FortiOS 7.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Voriaz authored and DimitriPapadopoulos committed Jul 22, 2024
1 parent ad9dd8d commit a6fe5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ int auth_log_in(struct tunnel *tunnel)
tunnel->cookie[0] = '\0';

if (username[0] == '\0' && tunnel->config->password[0] == '\0') {
snprintf(data, sizeof(data), "cert=&nup=1");
snprintf(data, sizeof(data), "");
ret = http_request(tunnel, "GET", "/remote/login",
data, &res, &response_size);
} else {
Expand Down

0 comments on commit a6fe5cb

Please sign in to comment.