diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2020-11-09 15:53:43 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2020-11-09 15:53:43 +0000 |
commit | 53e10153e11ad6d06b75cc3288e4b7375662b57e (patch) | |
tree | 1984d4d36046c68c6f9be04639351fedad8126f2 /regress/usr.sbin/rpki-client | |
parent | bf575a9ff1e92e21bb75a27ecf3d38be5aff5111 (diff) |
Fix compiler warnings about missing prototypes.
Diffstat (limited to 'regress/usr.sbin/rpki-client')
-rw-r--r-- | regress/usr.sbin/rpki-client/Makefile.inc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/regress/usr.sbin/rpki-client/Makefile.inc b/regress/usr.sbin/rpki-client/Makefile.inc index a6dc0b459ca..21cc566f245 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.1 2020/11/09 15:43:46 tb Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2020/11/09 15:53:42 tb Exp $ .PATH: ${.CURDIR}/../../../../usr.sbin/rpki-client @@ -29,7 +29,17 @@ run-regress-test-cert: test-cert ./test-cert -v ${.CURDIR}/../cer/*.cer ./test-cert -vt ${TALARGS:S,,${.CURDIR}/../&,} -SRCS_test-mft+= test-mft.c mft.c cms.c x509.c io.c log.c +mft_gen.c: mft.c + echo '#include <openssl/asn1.h>\n' > $@.tmp + echo 'int ASN1_time_parse(const char *, size_t, struct tm *, int);' \ + >> $@.tmp + echo 'int ASN1_time_tm_cmp(struct tm *, struct tm *);' >> $@.tmp + cat $> >> $@.tmp + mv -f $@.tmp $@ + +CLEANFILES += mft_gen.c mft_gen.c.tmp + +SRCS_test-mft+= test-mft.c mft_gen.c cms.c x509.c io.c log.c run-regress-test-mft: test-mft ./test-mft -v ${.CURDIR}/../mft/*.mft |