From a23954eeb930ccc8a66a2710153730769dba31b6 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 1 Jan 2021 22:00:49 +1100 Subject: [PATCH] Undef int32 after sort routines. This prevents typedef'ing crypto_int32 twice, in sntrup761.c and crypto_api.h, which some compilers (at least some GCCs) don't accept. --- sntrup761.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sntrup761.c b/sntrup761.c index db5aaacab..5b2456ad2 100644 --- a/sntrup761.c +++ b/sntrup761.c @@ -92,6 +92,8 @@ static void crypto_sort_uint32(void *array,long long n) for (j = 0;j < n;++j) x[j] ^= 0x80000000; } +#undef int32 + /* from supercop-20201130/crypto_kem/sntrup761/ref/uint64.h */ #ifndef UINT64_H #define UINT64_H