Skip to content

Commit c8200e0

Browse files
committed
test stuff
1 parent f08f47b commit c8200e0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

wolfssh/internal.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,16 @@ extern "C" {
189189
#undef WOLFSSH_NO_NISTP384_MLKEM1024_SHA384
190190
#define WOLFSSH_NO_NISTP384_MLKEM1024_SHA384
191191
#endif
192+
193+
#ifndef WOLFSSH_HAVE_MLKEM
194+
#error
195+
#endif
196+
#ifdef NO_SHA256
197+
#error
198+
#endif
199+
#ifndef HAVE_CURVE25519
200+
#error
201+
#endif
192202
#if !defined(WOLFSSL_HAVE_MLKEM) || defined(NO_SHA256) \
193203
|| !defined(HAVE_CURVE25519)
194204
#undef WOLFSSH_NO_CURVE25519_MLKEM768_SHA256

0 commit comments

Comments
 (0)