Displaying 2 results from an estimated 2 matches for "b02f2942a".
2024 Oct 29
1
FYI: fix for big-endian systems pushed to V_9_9 branch
On 27/10/2024 05:45, Damien Miller wrote:
> If you distribute OpenSSH to big-endian systems and have packaged
> OpenSSH 9.9 already, then I recommend you include these fixes as the
> next release of OpenSSH will make this key exchange algorithm the
> default.
>
I tried to update my Solaris builds but ran into a build error.
In file included from kexmlkem768x25519.c:50:
2024 Oct 29
1
FYI: fix for big-endian systems pushed to V_9_9 branch
...x_mlkem768_sha3.h:170: error: '__uint64_t' undeclared (first use in this
> function)
> gmake: *** [kexmlkem768x25519.o] Error 1
>
> AFAICT __uint64_t is not available on at least Solaris 10 and older.
oops, I think this should fix it:
diff --git a/defines.h b/defines.h
index b02f2942a..c1c21aba6 100644
--- a/defines.h
+++ b/defines.h
@@ -653,14 +653,14 @@ struct winsize {
((uint32_t)(v) & 0xff0000) >> 8 | \
((uint32_t)(v) & 0xff000000) >> 24)
# define openssh_swap64(v) \
- (__uint64_t)((((__uint64_t)(v) & 0xff) << 56) | \
- ((__uint64_t)...