stand: geli CFLAGS tightening

Only add -DWEAK_REFS to sha256.c and sha512.c instead of
everything. Remove redundant include that's not needed.
Minor formatting tweak.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-07-08 10:02:17 -06:00
parent 451ac17a50
commit eaf7aabddc

View File

@ -3,14 +3,13 @@
.PATH: ${SASRC}/geli
CFLAGS+= -I${LDRSRC}
# Our password input method
SRCS+= pwgets.c
SRCS+= pwgets.c
# sha256 and sha512 from sys/crypto
.PATH: ${SYSDIR}/crypto/sha2
CFLAGS+= -DWEAK_REFS
CFLAGS.sha256.c+= -DWEAK_REFS
CFLAGS.sha512.c+= -DWEAK_REFS
SRCS+= sha256c.c sha512c.c
# md5 from libmd