[openssh-commits] [openssh] 01/01: Undef int32 after sort routines.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jan 1 22:11:19 AEDT 2021


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit a23954eeb930ccc8a66a2710153730769dba31b6
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Jan 1 22:00:49 2021 +1100

    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 db5aaaca..5b2456ad 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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list