Merge branch 'bugfix/fix_http_auth_without_qop_v5.2' into 'release/v5.2'

fix(esp_http_client): Fix http digest auth without qop (v5.2)

See merge request espressif/esp-idf!28757
This commit is contained in:
Mahavir Jain
2024-02-16 13:50:46 +08:00
2 changed files with 21 additions and 3 deletions
@@ -603,7 +603,6 @@ static esp_err_t esp_http_client_prepare(esp_http_client_handle_t client)
client->auth_data->uri = client->connection_info.path;
client->auth_data->cnonce = ((uint64_t)esp_random() << 32) + esp_random();
auth_response = http_auth_digest(client->connection_info.username, client->connection_info.password, client->auth_data);
client->auth_data->nc ++;
#endif
}