diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-04-25 19:48:25 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-04-25 19:48:25 +0000 |
commit | c2eb09e6c4aa408ad4fe955c8b93324d6fc1a3a8 (patch) | |
tree | a8a20cf28a4db8125c7e2b020e5eb50a0de8e1dd /regress/lib | |
parent | 39cb0232ac73ccca249f20f84d0b0075d931f35c (diff) |
bio_asn1: adjust for more recent churn
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libcrypto/bio/Makefile | 4 | ||||
-rw-r--r-- | regress/lib/libcrypto/bio/bio_asn1.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/bio/Makefile b/regress/lib/libcrypto/bio/Makefile index 3084f06d325..0402e3939ae 100644 --- a/regress/lib/libcrypto/bio/Makefile +++ b/regress/lib/libcrypto/bio/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2023/04/25 15:29:17 tb Exp $ +# $OpenBSD: Makefile,v 1.7 2023/04/25 19:48:24 tb Exp $ PROGS += bio_asn1 PROGS += bio_chain @@ -9,7 +9,9 @@ LDADD = -lcrypto DPADD = ${LIBCRYPTO} WARNINGS = Yes CFLAGS += -DLIBRESSL_INTERNAL -Werror +CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/asn1/ CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bio/ +CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bytestring/ LDADD_bio_asn1 = ${CRYPTO_INT} diff --git a/regress/lib/libcrypto/bio/bio_asn1.c b/regress/lib/libcrypto/bio/bio_asn1.c index ac7f48ced89..abb16423724 100644 --- a/regress/lib/libcrypto/bio/bio_asn1.c +++ b/regress/lib/libcrypto/bio/bio_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio_asn1.c,v 1.2 2023/03/31 06:07:44 tb Exp $ */ +/* $OpenBSD: bio_asn1.c,v 1.3 2023/04/25 19:48:24 tb Exp $ */ /* * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> @@ -27,6 +27,8 @@ #include <openssl/objects.h> #include <openssl/pkcs7.h> +#include "asn1_local.h" + /* * Minimal reproducer for the BIO_new_NDEF() write after free fixed in * bio_ndef.c r1.13. |