From 46c7c5629418bac1f7c06b500323cf5e9b4dc936 Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Mon, 13 May 2024 14:01:39 +0200 Subject: [PATCH] fixup! Responder: generate JSON message for GUI --- Makefile.am | 1 - src/tests/cmocka/test_pamsrv_json.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 569de600b7e..a1d21752362 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2681,7 +2681,6 @@ if BUILD_PASSKEY endif # BUILD_PASSKEY test_pamsrv_json_SOURCES = \ - src/responder/pam/pamsrv_json.c \ src/tests/cmocka/test_pamsrv_json.c \ $(NULL) test_pamsrv_json_CFLAGS = \ diff --git a/src/tests/cmocka/test_pamsrv_json.c b/src/tests/cmocka/test_pamsrv_json.c index 8e32c4e5c0f..c48ca215019 100644 --- a/src/tests/cmocka/test_pamsrv_json.c +++ b/src/tests/cmocka/test_pamsrv_json.c @@ -27,6 +27,7 @@ #include "tests/cmocka/common_mock.h" +#include "src/responder/pam/pamsrv_json.c" #include "src/responder/pam/pamsrv_json.h" #define PASSWORD_PROMPT "Password"