diff options
author | djm@openbsd.org <djm@openbsd.org> | 2024-10-27 03:06:59 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2024-10-27 03:09:58 +0100 |
commit | 0c3927c45f8a57b511c874c4d51a8c89414f74ef (patch) | |
tree | 23159fdb58c95a137506e9f5b153f9ac9c0421e8 | |
parent | upstream: fix ML-KEM768x25519 KEX on big-endian systems; spotted by (diff) | |
download | openssh-0c3927c45f8a57b511c874c4d51a8c89414f74ef.tar.xz openssh-0c3927c45f8a57b511c874c4d51a8c89414f74ef.zip |
upstream: explicitly include endian.h
OpenBSD-Commit-ID: 13511fdef7535bdbc35b644c90090013da43a318
-rw-r--r-- | kexmlkem768x25519.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kexmlkem768x25519.c b/kexmlkem768x25519.c index 679446e97..2b5d39608 100644 --- a/kexmlkem768x25519.c +++ b/kexmlkem768x25519.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kexmlkem768x25519.c,v 1.1 2024/09/02 12:13:56 djm Exp $ */ +/* $OpenBSD: kexmlkem768x25519.c,v 1.2 2024/10/27 02:06:59 djm Exp $ */ /* * Copyright (c) 2023 Markus Friedl. All rights reserved. * @@ -34,6 +34,9 @@ #include <stdbool.h> #include <string.h> #include <signal.h> +#ifdef HAVE_ENDIAN_H +# include <endian.h> +#endif #include "sshkey.h" #include "kex.h" |