adapt compat_kex_proposal() test to portable

This commit is contained in:
Damien Miller 2023-02-02 23:17:49 +11:00
parent 903c556b93
commit 9fe207565b
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View 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} \

View 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"