ntp: Fix buildworld with MK_OPENSSL=no
Reported by: wosch Tested by: wosch MFC after: 1 week
This commit is contained in:
@@ -9,7 +9,7 @@ NTPDEFS= -DSYS_FREEBSD
|
||||
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${CLOCKDEFS}
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
CFLAGS+= -DOPENSSL -DAUTOKEY
|
||||
CFLAGS+= -DOPENSSL -DAUTOKEY -DUSE_OPENSSL_CRYPTO_RAND
|
||||
.endif
|
||||
|
||||
WARNS?= 0
|
||||
|
||||
@@ -1664,7 +1664,8 @@ typedef unsigned int uintptr_t;
|
||||
#define USE_FSETOWNCTTY 1
|
||||
|
||||
/* Use OpenSSL's crypto random functions */
|
||||
#define USE_OPENSSL_CRYPTO_RAND 1
|
||||
/* We define this in Makefile.inc instead */
|
||||
/* #undef USE_OPENSSL_CRYPTO_RAND */
|
||||
|
||||
/* OK to use snprintb()? */
|
||||
/* #undef USE_SNPRINTB */
|
||||
|
||||
Reference in New Issue
Block a user