-# $OpenBSD: Makefile,v 1.4 2022/01/12 08:54:23 tb Exp $
+# $OpenBSD: Makefile,v 1.5 2022/01/14 09:38:50 tb Exp $
PROG= aeadtest
-#LDADD= -lcrypto
-LDADD= ${CRYPTO_INT} # XXX link dynamically after bump
+LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
WARNINGS= Yes
-CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror
+CFLAGS+= -DLIBRESSL_INTERNAL -Werror
REGRESS_TARGETS=regress-aeadtest
-# $OpenBSD: Makefile,v 1.14 2022/01/12 08:45:09 tb Exp $
+# $OpenBSD: Makefile,v 1.15 2022/01/14 09:38:50 tb Exp $
PROGS = \
asn1api \
DPADD+= ${LIBCRYPTO} ${LIBSSL}
WARNINGS= Yes
LDFLAGS+= -lcrypto
-CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL
+CFLAGS+= -DLIBRESSL_INTERNAL
CFLAGS+= -Wall -Wundef -Werror
CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/asn1
CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/bytestring
LDADD_asn1basic = ${CRYPTO_INT}
-LDADD_asn1x509 = ${CRYPTO_INT} # XXX Remove after bump
.for p in ${PROGS}
REGRESS_TARGETS += run-$p
-# $OpenBSD: Makefile,v 1.4 2022/01/12 08:56:49 tb Exp $
+# $OpenBSD: Makefile,v 1.5 2022/01/14 09:38:50 tb Exp $
PROG= dhtest
-LDADD= ${CRYPTO_INT} # XXX link dynamically after bump
+LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
WARNINGS= Yes
-CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror
+CFLAGS+= -DLIBRESSL_INTERNAL -Werror
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.4 2022/01/12 08:59:56 tb Exp $
+# $OpenBSD: Makefile,v 1.5 2022/01/14 09:38:50 tb Exp $
PROG= dsatest
-LDADD= ${CRYPTO_INT} # XXX link dynamically after bump
+LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
WARNINGS= Yes
-CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror
+CFLAGS+= -DLIBRESSL_INTERNAL -Werror
REGRESS_TARGETS=regress-dsatest
-# $OpenBSD: Makefile,v 1.4 2022/01/12 09:02:34 tb Exp $
+# $OpenBSD: Makefile,v 1.5 2022/01/14 09:38:50 tb Exp $
PROG= ecdsatest
-LDADD= ${CRYPTO_INT} # XXX link dynamically after bump
+LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
WARNINGS= Yes
-CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror
+CFLAGS+= -DLIBRESSL_INTERNAL -Werror
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.5 2022/01/12 09:11:48 tb Exp $
+# $OpenBSD: Makefile,v 1.6 2022/01/14 09:38:50 tb Exp $
PROGS= evptest evp_pkey_check
LDADD= -lcrypto
REGRESS_TARGETS+= regress-evptest
REGRESS_TARGETS+= regress-evp_pkey_check
-LDADD_evp_pkey_check= ${CRYPTO_INT} # XXX remove after bump
-
regress-evptest: evptest
./evptest ${.CURDIR}/evptests.txt