/dev/urandom is the default random device, so no use in stateing it here.

Also simplify the conditionals a little.
This commit is contained in:
obrien 2000-05-15 23:29:03 +00:00
parent f0439cee66
commit b448bd5eed

View File

@ -6,12 +6,9 @@ CFLAGS+= -DTERMIOS -DANSI_SOURCE -DNO_IDEA -I${LCRYPTO_SRC} -I${.OBJDIR}
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -DL_ENDIAN
# -DBN_ASM -DSHA1_ASM -DMD5_ASM -DRMD160_ASM - XXX notyet
CFLAGS+= -DDEVRANDOM=\"/dev/urandom\"
.else
.if ${MACHINE_ARCH} == "alpha"
.elif ${MACHINE_ARCH} == "alpha"
# no ENDIAN stuff defined for alpha (64-bit)
.endif
.endif
WITH_RSA?= YES