From 25fc38ac383ffe7addb07fffc9973e45f8396671 Mon Sep 17 00:00:00 2001 From: "Diego F. Aranha" Date: Mon, 12 Aug 2024 15:12:11 +0200 Subject: [PATCH] Remove compile warning. --- src/pc/relic_pc_exp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/relic_pc_exp.c b/src/pc/relic_pc_exp.c index 22fc69fbf..7b22a5648 100644 --- a/src/pc/relic_pc_exp.c +++ b/src/pc/relic_pc_exp.c @@ -181,7 +181,7 @@ void gt_exp_gls_imp(gt_t c, const gt_t a, const bn_t b, size_t f) { } gt_copy(q, a); - if (s[0] == RLC_NEG) { + if (bn_sign(_b[0]) == RLC_NEG) { gt_inv(q, q); } if (RLC_WIDTH > 2) {