diff options
author | Damien Miller <djm@mindrot.org> | 2024-09-09 08:46:40 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2024-09-09 08:46:40 +0200 |
commit | e8a0f19b56dfa20f98ea9876d7171ec315fb338a (patch) | |
tree | 4d61f25d4f3f6acc63cbca3bc61c8192f069f5cf /defines.h | |
parent | test for compiler feature needed for ML-KEM (diff) | |
download | openssh-e8a0f19b56dfa20f98ea9876d7171ec315fb338a.tar.xz openssh-e8a0f19b56dfa20f98ea9876d7171ec315fb338a.zip |
fix previous; check for C99 compound literals
The previous commit was incorrect (or at least insufficient), the
ML-KEM code is actually using compound literals, so test for them.
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -942,8 +942,8 @@ struct winsize { #if defined(VARIABLE_LENGTH_ARRAYS) && defined(VARIABLE_DECLARATION_AFTER_CODE) # define USE_SNTRUP761X25519 1 #endif -/* The ML-KEM768 imlementation similarly uses named struct initialisers */ -#ifdef NAMED_STRUCT_INITIALISERS +/* The ML-KEM768 imlementation similarly uses C99 compound literals */ +#ifdef COMPOUND_LITERALS # define USE_MLKEM768X25519 1 #endif #endif /* _DEFINES_H */ |