From d50d013d6c013b9432b968f5698a2336fa71f70a Mon Sep 17 00:00:00 2001 From: Yosuke Shimizu Date: Thu, 26 Mar 2026 09:38:23 +0900 Subject: [PATCH] Add preprocessor directive for MLKEM hybrid --- wolfssh/internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfssh/internal.h b/wolfssh/internal.h index ef59304b5..9f110487b 100644 --- a/wolfssh/internal.h +++ b/wolfssh/internal.h @@ -670,7 +670,8 @@ typedef struct HandshakeInfo { #ifndef WOLFSSH_NO_ECDH ecc_key ecc; #endif -#ifndef WOLFSSH_NO_CURVE25519_SHA256 +#if !defined(WOLFSSH_NO_CURVE25519_SHA256) || \ + !defined(WOLFSSH_NO_CURVE25519_MLKEM768_SHA256) curve25519_key curve25519; #endif } privKey;