mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
ntp: Fix buildworld with MK_OPENSSL=no
Reported by: wosch Tested by: wosch MFC after: 1 week
This commit is contained in:
1 parent
1efb6541c6
commit
2804461adf
2 files changed
+3
-2
No files matched your search
@@ -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