ok jsing (a very long time ago)
-# $OpenBSD: Makefile,v 1.126 2023/05/05 12:20:03 tb Exp $
+# $OpenBSD: Makefile,v 1.127 2023/05/05 21:23:02 tb Exp $
LIB= crypto
LIBREBUILD=y
CFLAGS+= -Wall -Wundef
.if ${COMPILER_VERSION:L} == "clang"
-CFLAGS+= -Werror
+CFLAGS+= -Werror -Wshadow
.endif
CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL
.ifdef NAMESPACE
-# $OpenBSD: Makefile,v 1.78 2022/11/11 11:25:18 beck Exp $
+# $OpenBSD: Makefile,v 1.79 2023/05/05 21:23:02 tb Exp $
.include <bsd.own.mk>
.ifndef NOMAN
CFLAGS+= -Wall -Wundef
.if ${COMPILER_VERSION:L} == "clang"
-CFLAGS+= -Werror
+CFLAGS+= -Werror -Wshadow
.endif
CFLAGS+= -DLIBRESSL_INTERNAL
.ifdef NAMESPACE
-# $OpenBSD: Makefile,v 1.37 2022/01/25 21:51:24 eric Exp $
+# $OpenBSD: Makefile,v 1.38 2023/05/05 21:23:02 tb Exp $
.include <bsd.own.mk>
.ifndef NOMAN
CFLAGS+= -Wall -Wimplicit -Wundef
.if ${COMPILER_VERSION:L} == "clang"
-CFLAGS+= -Werror
+CFLAGS+= -Werror -Wshadow
.endif
CFLAGS+= -DLIBRESSL_INTERNAL