Skip to content

Commit

Permalink
Remove artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Oct 14, 2024
1 parent 3c293cf commit a08c87c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/cp/relic_cp_pcdel.c
Original file line number Diff line number Diff line change
Expand Up @@ -822,8 +822,7 @@ int cp_mvbat_ver(gt_t *rs, const gt_t *as, const gt_t *e, size_t m) {
gt_frb(t, t, 1);
gt_mul(alpha, alpha, t);
}
if (!result|| (gt_cmp(alpha, as[0]))) {
printf("eita\n");
if (!result || (gt_cmp(alpha, as[0]) != RLC_EQ)) {
for (size_t i = 0; i < m; i++) {
gt_set_unity(rs[i]);
}
Expand Down
4 changes: 2 additions & 2 deletions test/test_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2536,7 +2536,7 @@ int main(void) {
}

util_banner("Tests for the CP module", 0);
#if 0

#if defined(WITH_BN)
util_banner("Protocols based on integer factorization:\n", 0);
if (rsa() != RLC_OK) {
Expand Down Expand Up @@ -2626,7 +2626,7 @@ int main(void) {
}
}
#endif
#endif

#if defined(WITH_PC)
util_banner("Protocols based on pairings:\n", 0);
if (pc_param_set_any() == RLC_OK) {
Expand Down

0 comments on commit a08c87c

Please sign in to comment.