]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Undef int32 after sort routines.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 1 Jan 2021 11:00:49 +0000 (22:00 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 1 Jan 2021 11:00:49 +0000 (22:00 +1100)
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

index db5aaacab7a707640c87a9aca8060c5fa34b7035..5b2456ad2a8d94d3ab7dd6e0e3b9483e80ae7eff 100644 (file)
@@ -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