Skip to content

Commit

Permalink
Only compile this function if ENDOM is turned on.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Jan 27, 2025
1 parent c9ec538 commit c56cb2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ep/relic_ep_psi.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
/* Public definitions */
/*============================================================================*/

#if defined(EP_ENDOM)

void ep_psi(ep_t r, const ep_t p) {
if (ep_is_infty(p)) {
ep_set_infty(r);
Expand All @@ -53,3 +55,4 @@ void ep_psi(ep_t r, const ep_t p) {
}
}

#endif

0 comments on commit c56cb2c

Please sign in to comment.