From d936b7e81d7af066114ac5736e2a7757289c951d Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 21 Jan 2026 17:13:42 +0100 Subject: [PATCH] mlkem: Use fprintf instead of internal logging function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub Jelen Reviewed-by: Pavol Žáčik --- src/external/libcrux_mlkem768_sha3.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/external/libcrux_mlkem768_sha3.c b/src/external/libcrux_mlkem768_sha3.c index 3f5c51eb..59130fbd 100644 --- a/src/external/libcrux_mlkem768_sha3.c +++ b/src/external/libcrux_mlkem768_sha3.c @@ -28,8 +28,9 @@ #include "config.h" +#include + #include "libssh/mlkem_native.h" -#include "libssh/priv.h" #if !defined(__GNUC__) || (__GNUC__ < 2) # define __attribute__(x) @@ -38,7 +39,7 @@ #define KRML_NOINLINE __attribute__((noinline, unused)) #define KRML_HOST_EPRINTF(...) #define KRML_HOST_EXIT(x) do { \ - SSH_LOG(SSH_LOG_WARNING, "internal error"); \ + fprintf(stderr, "mlkem internal error"); \ exit(x); \ } while (0)