@@ -97,14 +97,14 @@ LIBSSH_OBJS=${LIBOPENSSH_OBJS} \
97
97
SSHOBJS = ssh.o readconf.o clientloop.o sshtty.o \
98
98
sshconnect.o sshconnect1.o sshconnect2.o mux.o
99
99
100
- SSHDOBJS =sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
100
+ SSHDOBJS =sshd.o auth-rhosts.o auth-passwd.o \
101
101
audit.o audit-bsm.o audit-linux.o platform.o \
102
102
sshpty.o sshlogin.o servconf.o serverloop.o \
103
- auth.o auth1.o auth2.o auth-options.o session.o \
104
- auth-chall.o auth2-chall.o groupaccess.o \
103
+ auth.o auth2.o auth-options.o session.o \
104
+ auth2-chall.o groupaccess.o \
105
105
auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \
106
106
auth2-none.o auth2-passwd.o auth2-pubkey.o \
107
- monitor_mm.o monitor.o monitor_wrap.o auth-krb5.o \
107
+ monitor.o monitor_wrap.o auth-krb5.o \
108
108
auth2-gss.o gss-serv.o gss-serv-krb5.o \
109
109
loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \
110
110
sftp-server.o sftp-common.o \
@@ -240,6 +240,10 @@ clean: regressclean
240
240
rm -f regress/unittests/hostkeys/test_hostkeys
241
241
rm -f regress/unittests/kex/* .o
242
242
rm -f regress/unittests/kex/test_kex
243
+ rm -f regress/unittests/match/* .o
244
+ rm -f regress/unittests/match/test_match
245
+ rm -f regress/unittests/utf8/* .o
246
+ rm -f regress/unittests/utf8/test_utf8
243
247
rm -f regress/misc/kexfuzz/* .o
244
248
rm -f regress/misc/kexfuzz/kexfuzz
245
249
(cd openbsd-compat && $( MAKE) clean)
@@ -262,6 +266,10 @@ distclean: regressclean
262
266
rm -f regress/unittests/hostkeys/test_hostkeys
263
267
rm -f regress/unittests/kex/* .o
264
268
rm -f regress/unittests/kex/test_kex
269
+ rm -f regress/unittests/match/* .o
270
+ rm -f regress/unittests/match/test_match
271
+ rm -f regress/unittests/utf8/* .o
272
+ rm -f regress/unittests/utf8/test_utf8
265
273
rm -f regress/unittests/misc/kexfuzz
266
274
(cd openbsd-compat && $( MAKE) distclean)
267
275
if test -d pkg ; then \
@@ -422,6 +430,10 @@ regress-prep:
422
430
mkdir -p ` pwd` /regress/unittests/hostkeys
423
431
[ -d ` pwd` /regress/unittests/kex ] || \
424
432
mkdir -p ` pwd` /regress/unittests/kex
433
+ [ -d ` pwd` /regress/unittests/match ] || \
434
+ mkdir -p ` pwd` /regress/unittests/match
435
+ [ -d ` pwd` /regress/unittests/utf8 ] || \
436
+ mkdir -p ` pwd` /regress/unittests/utf8
425
437
[ -d ` pwd` /regress/misc/kexfuzz ] || \
426
438
mkdir -p ` pwd` /regress/misc/kexfuzz
427
439
[ -f ` pwd` /regress/Makefile ] || \
@@ -512,6 +524,26 @@ regress/unittests/hostkeys/test_hostkeys$(EXEEXT): \
512
524
regress/unittests/test_helper/libtest_helper.a \
513
525
-lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
514
526
527
+ UNITTESTS_TEST_MATCH_OBJS =\
528
+ regress/unittests/match/tests.o
529
+
530
+ regress/unittests/match/test_match$(EXEEXT ) : \
531
+ ${UNITTESTS_TEST_MATCH_OBJS} \
532
+ regress/unittests/test_helper/libtest_helper.a libssh.a
533
+ $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_MATCH_OBJS) \
534
+ regress/unittests/test_helper/libtest_helper.a \
535
+ -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
536
+
537
+ UNITTESTS_TEST_UTF8_OBJS =\
538
+ regress/unittests/utf8/tests.o
539
+
540
+ regress/unittests/utf8/test_utf8$(EXEEXT ) : \
541
+ ${UNITTESTS_TEST_UTF8_OBJS} \
542
+ regress/unittests/test_helper/libtest_helper.a libssh.a
543
+ $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_UTF8_OBJS) \
544
+ regress/unittests/test_helper/libtest_helper.a \
545
+ -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
546
+
515
547
MISC_KEX_FUZZ_OBJS =\
516
548
regress/misc/kexfuzz/kexfuzz.o
517
549
@@ -528,6 +560,8 @@ regress-binaries: regress/modpipe$(EXEEXT) \
528
560
regress/unittests/bitmap/test_bitmap$(EXEEXT ) \
529
561
regress/unittests/hostkeys/test_hostkeys$(EXEEXT ) \
530
562
regress/unittests/kex/test_kex$(EXEEXT ) \
563
+ regress/unittests/match/test_match$(EXEEXT ) \
564
+ regress/unittests/utf8/test_utf8$(EXEEXT ) \
531
565
regress/misc/kexfuzz/kexfuzz$(EXEEXT )
532
566
533
567
tests interop-tests t-exec : regress-prep regress-binaries $(TARGETS )
@@ -546,6 +580,7 @@ tests interop-tests t-exec: regress-prep regress-binaries $(TARGETS)
546
580
TEST_SSH_PUTTYGEN=" puttygen" ; \
547
581
TEST_SSH_CONCH=" conch" ; \
548
582
TEST_SSH_IPV6=" @TEST_SSH_IPV6@" ; \
583
+ TEST_SSH_UTF8=" @TEST_SSH_UTF8@" ; \
549
584
TEST_SSH_ECC=" @TEST_SSH_ECC@" ; \
550
585
cd $(srcdir ) /regress || exit $$? ; \
551
586
$(MAKE ) \
@@ -570,6 +605,7 @@ tests interop-tests t-exec: regress-prep regress-binaries $(TARGETS)
570
605
TEST_SSH_PUTTYGEN=" $$ {TEST_SSH_PUTTYGEN}" \
571
606
TEST_SSH_CONCH=" $$ {TEST_SSH_CONCH}" \
572
607
TEST_SSH_IPV6=" $$ {TEST_SSH_IPV6}" \
608
+ TEST_SSH_UTF8=" $$ {TEST_SSH_UTF8}" \
573
609
TEST_SSH_ECC=" $$ {TEST_SSH_ECC}" \
574
610
TEST_SHELL=" ${TEST_SHELL} " \
575
611
EXEEXT=" $( EXEEXT) " \
0 commit comments