Skip to content

Commit

Permalink
fix: t_cose_param_find_alg_id_unprot
Browse files Browse the repository at this point in the history
  • Loading branch information
kentakayama committed Nov 4, 2023
1 parent 65c9ec7 commit f47406f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/t_cose/t_cose_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ t_cose_param_find_alg_id_unprot(const struct t_cose_parameter *parameter_list)
int32_t alg_id;
bool prot;
alg_id = t_cose_param_find_alg_id(parameter_list, &prot);
if(prot != true) {
if(prot == true) {
return T_COSE_ALGORITHM_NONE;
}

Expand Down

0 comments on commit f47406f

Please sign in to comment.