[PATCH 2/3] mpi/longlong: fix generic smul_ppmm ifdef

Jussi Kivilinna jussi.kivilinna at iki.fi
Tue Oct 4 20:48:16 CEST 2022


* mpi/longlong.h [!umul_ppmm] (smul_ppmm): Change ifdef
from !defined(umul_ppmm) to !defined(smul_ppmm).
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
 mpi/longlong.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpi/longlong.h b/mpi/longlong.h
index 6a829f49..2921e9bd 100644
--- a/mpi/longlong.h
+++ b/mpi/longlong.h
@@ -1710,7 +1710,7 @@ typedef unsigned int UTItype __attribute__ ((mode (TI)));
   } while (0)
 #endif
 
-#if !defined (umul_ppmm)
+#if !defined (smul_ppmm)
 #  define smul_ppmm(w1, w0, u, v) 					\
   do {									\
     UWtype __w1;							\
-- 
2.34.1




More information about the Gcrypt-devel mailing list