Skip to content

Commit

Permalink
Added rv check
Browse files Browse the repository at this point in the history
  • Loading branch information
abkarcher committed Jul 2, 2020
1 parent 206d388 commit fa73a80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/acvp_operating_env.c
Original file line number Diff line number Diff line change
Expand Up @@ -1913,6 +1913,10 @@ static ACVP_RESULT query_vendor(ACVP_CTX *ctx,
/* Query using the first email in the list */
if (vendor->emails) {
rv = acvp_kv_list_append(&parameters, "email[0]=eq:", vendor->emails->string);
if (ACVP_SUCCESS != rv) {
ACVP_LOG_ERR("Failed acvp_kv_list_append()");
goto end;
}
}
}

Expand Down

0 comments on commit fa73a80

Please sign in to comment.