From: Damien Miller Date: Thu, 2 Feb 2023 12:17:49 +0000 (+1100) Subject: adapt compat_kex_proposal() test to portable X-Git-Tag: V_9_2_P1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fe207565b4ab0fe5d1ac5bb85e39188d96fb214;p=thirdparty%2Fopenssh-portable.git adapt compat_kex_proposal() test to portable --- diff --git a/Makefile.in b/Makefile.in index 18f6ac9eb..c0ebfa041 100644 --- a/Makefile.in +++ b/Makefile.in @@ -616,6 +616,7 @@ regress/unittests/conversion/test_conversion$(EXEEXT): \ UNITTESTS_TEST_KEX_OBJS=\ regress/unittests/kex/tests.o \ regress/unittests/kex/test_kex.o \ + regress/unittests/kex/test_proposal.o \ $(SKOBJS) regress/unittests/kex/test_kex$(EXEEXT): ${UNITTESTS_TEST_KEX_OBJS} \ diff --git a/regress/unittests/kex/test_proposal.c b/regress/unittests/kex/test_proposal.c index b89ff59b6..d6cf0f5da 100644 --- a/regress/unittests/kex/test_proposal.c +++ b/regress/unittests/kex/test_proposal.c @@ -5,14 +5,18 @@ * Placed in the public domain */ +#include "includes.h" + #include #include #include +#ifdef HAVE_STDINT_H #include +#endif #include #include -#include "test_helper.h" +#include "../test_helper/test_helper.h" #include "compat.h" #include "ssherr.h"