mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
fix: API usage of Rainmaker user node association
This commit is contained in:
@@ -274,7 +274,7 @@ static esp_err_t sign_data_command_callback(const ConcreteCommandPath &command_p
|
||||
// sign the data here
|
||||
char *challenge_response = NULL;
|
||||
size_t outlen = 0;
|
||||
esp_err_t err = esp_rmaker_node_auth_solve_challenge((void *)challenge, config_value.size(), (void **)&challenge_response, &outlen);
|
||||
esp_err_t err = esp_rmaker_node_auth_sign_msg((void *)challenge, config_value.size(), (void **)&challenge_response, &outlen);
|
||||
|
||||
// Return if challenge response is NULL
|
||||
if (err != ESP_OK) {
|
||||
|
||||
Reference in New Issue
Block a user