]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
adapt compat_kex_proposal() test to portable
authorDamien Miller <djm@mindrot.org>
Thu, 2 Feb 2023 12:17:49 +0000 (23:17 +1100)
committerDamien Miller <djm@mindrot.org>
Thu, 2 Feb 2023 12:17:49 +0000 (23:17 +1100)
Makefile.in
regress/unittests/kex/test_proposal.c

index 18f6ac9eb95065cdf1eb0821a16ad7f55ae5aeff..c0ebfa0415255d669c535e5d1ae4059377a6a6ac 100644 (file)
@@ -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} \
index b89ff59b6d8b6a5a1a197ca0f9bfe40b118c7bba..d6cf0f5da7d739cc2ca50ed33443f040cdcfa3d4 100644 (file)
@@ -5,14 +5,18 @@
  * Placed in the public domain
  */
 
+#include "includes.h"
+
 #include <sys/types.h>
 #include <signal.h>
 #include <stdio.h>
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif
 #include <stdlib.h>
 #include <string.h>
 
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
 
 #include "compat.h"
 #include "ssherr.h"