ntpd(8): Don't use OpenSSL's RAND API
The !USE_OPENSSL_CRYPTO_RAND path uses arc4random_buf() correctly. In general, we should prefer to avoid things OpenSSL does poorly when a good alternative exists in libc.
This commit is contained in:
parent
23c30549af
commit
15da83398e
@ -11,7 +11,7 @@ NTPDEFS= -DSYS_FREEBSD
|
||||
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${CLOCKDEFS}
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
CFLAGS+= -DOPENSSL -DUSE_OPENSSL_CRYPTO_RAND -DAUTOKEY
|
||||
CFLAGS+= -DOPENSSL -DAUTOKEY
|
||||
.endif
|
||||
|
||||
WARNS?= 0
|
||||
|
Loading…
Reference in New Issue
Block a user