Undo static linking and other workarounds that are no longer needed
authortb <tb@openbsd.org>
Fri, 14 Jan 2022 09:38:50 +0000 (09:38 +0000)
committertb <tb@openbsd.org>
Fri, 14 Jan 2022 09:38:50 +0000 (09:38 +0000)
after the bump

regress/lib/libcrypto/aead/Makefile
regress/lib/libcrypto/asn1/Makefile
regress/lib/libcrypto/dh/Makefile
regress/lib/libcrypto/dsa/Makefile
regress/lib/libcrypto/ecdsa/Makefile
regress/lib/libcrypto/evp/Makefile

index 1643080..c7ee88b 100644 (file)
@@ -1,11 +1,10 @@
-#      $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
 
index 307c8b6..44de135 100644 (file)
@@ -1,4 +1,4 @@
-#      $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 \
@@ -14,13 +14,12 @@ PROGS = \
 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
index d8f7a51..0485ddf 100644 (file)
@@ -1,9 +1,9 @@
-#      $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>
index 489c222..f87eb77 100644 (file)
@@ -1,10 +1,10 @@
-#      $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
 
index 5cd4c4c..11360df 100644 (file)
@@ -1,9 +1,9 @@
-#      $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>
index c4a5294..5abec99 100644 (file)
@@ -1,4 +1,4 @@
-#      $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
@@ -9,8 +9,6 @@ CFLAGS+=        -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror
 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