From a27b13499c21d0760c450b43001e65b6734ab282 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 20 Apr 2022 17:37:53 +0000 Subject: [PATCH] While I'm here, prepare regress for claudio's upcoming diff --- regress/usr.sbin/rpki-client/Makefile.inc | 4 ++-- regress/usr.sbin/rpki-client/openssl11/Makefile | 1 + regress/usr.sbin/rpki-client/test-rrdp.c | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/regress/usr.sbin/rpki-client/Makefile.inc b/regress/usr.sbin/rpki-client/Makefile.inc index 96c4ef59252..a05aa58b973 100644 --- a/regress/usr.sbin/rpki-client/Makefile.inc +++ b/regress/usr.sbin/rpki-client/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.22 2022/04/12 08:46:33 tb Exp $ +# $OpenBSD: Makefile.inc,v 1.23 2022/04/20 17:37:53 tb Exp $ .PATH: ${.CURDIR}/../../../../usr.sbin/rpki-client @@ -55,7 +55,7 @@ run-regress-test-tal: test-tal SRCS_test-rrdp+= test-rrdp.c rrdp_delta.c rrdp_notification.c \ rrdp_snapshot.c rrdp_util.c \ - log.c encoding.c ip.c validate.c dummy.c + log.c encoding.c ip.c validate.c dummy.c x509.c LDADD_test-rrdp+= -lexpat ${LDADD} DPADD_test-rrdp+= ${LIBEXPAT} ${DPADD} run-regress-test-rrdp: test-rrdp diff --git a/regress/usr.sbin/rpki-client/openssl11/Makefile b/regress/usr.sbin/rpki-client/openssl11/Makefile index b6600403167..ab1c4997a33 100644 --- a/regress/usr.sbin/rpki-client/openssl11/Makefile +++ b/regress/usr.sbin/rpki-client/openssl11/Makefile @@ -25,6 +25,7 @@ SRCS_test-cert = a_time_tm_gen.c o_time.c SRCS_test-gbr = a_time_tm_gen.c o_time.c SRCS_test-tal = a_time_tm_gen.c o_time.c SRCS_test-bgpsec = a_time_tm_gen.c o_time.c +SRCS_test-rrdp = a_time_tm_gen.c o_time.c CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/ .PATH: ${.CURDIR}/.. diff --git a/regress/usr.sbin/rpki-client/test-rrdp.c b/regress/usr.sbin/rpki-client/test-rrdp.c index 35cc24013e6..e8b681579ce 100644 --- a/regress/usr.sbin/rpki-client/test-rrdp.c +++ b/regress/usr.sbin/rpki-client/test-rrdp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test-rrdp.c,v 1.2 2021/12/24 09:21:41 claudio Exp $ */ +/* $OpenBSD: test-rrdp.c,v 1.3 2022/04/20 17:37:53 tb Exp $ */ /* * Copyright (c) 2020 Nils Fisher * Copyright (c) 2021 Claudio Jeker @@ -35,6 +35,8 @@ #include "extern.h" #include "rrdp.h" +int verbose; + #define REGRESS_NOTIFY_URI "https://rpki.example.com/notify.xml" #define MAX_SESSIONS 12 -- 2.20.1