From c56cb2c8ed0fe649d6301a62082262b61e2950ca Mon Sep 17 00:00:00 2001 From: "Diego F. Aranha" Date: Mon, 27 Jan 2025 10:36:14 +0100 Subject: [PATCH] Only compile this function if ENDOM is turned on. --- src/ep/relic_ep_psi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ep/relic_ep_psi.c b/src/ep/relic_ep_psi.c index d080fcbbb..767f7d9c0 100644 --- a/src/ep/relic_ep_psi.c +++ b/src/ep/relic_ep_psi.c @@ -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); @@ -53,3 +55,4 @@ void ep_psi(ep_t r, const ep_t p) { } } +#endif \ No newline at end of file