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:
parent
451ac17a50
commit
eaf7aabddc
@ -3,14 +3,13 @@
|
|||||||
|
|
||||||
.PATH: ${SASRC}/geli
|
.PATH: ${SASRC}/geli
|
||||||
|
|
||||||
CFLAGS+= -I${LDRSRC}
|
|
||||||
|
|
||||||
# Our password input method
|
# Our password input method
|
||||||
SRCS+= pwgets.c
|
SRCS+= pwgets.c
|
||||||
|
|
||||||
# sha256 and sha512 from sys/crypto
|
# sha256 and sha512 from sys/crypto
|
||||||
.PATH: ${SYSDIR}/crypto/sha2
|
.PATH: ${SYSDIR}/crypto/sha2
|
||||||
CFLAGS+= -DWEAK_REFS
|
CFLAGS.sha256.c+= -DWEAK_REFS
|
||||||
|
CFLAGS.sha512.c+= -DWEAK_REFS
|
||||||
SRCS+= sha256c.c sha512c.c
|
SRCS+= sha256c.c sha512c.c
|
||||||
|
|
||||||
# md5 from libmd
|
# md5 from libmd
|
||||||
|
Loading…
Reference in New Issue
Block a user