aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Duskett <aduskett@gmail.com>2017-11-08 08:18:39 -0500
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-02-04 16:20:38 +0100
commit905677cbd59fb0f9f56f207b63e1fa6e7c9167d5 (patch)
tree8e87db3c52f59fc4967f92f6443e3e35371a2c4b
parent651af57cf011e6d8764d11932ce87fc064cd9a9b (diff)
downloadbuildroot-905677cbd59fb0f9f56f207b63e1fa6e7c9167d5.tar.gz
buildroot-905677cbd59fb0f9f56f207b63e1fa6e7c9167d5.tar.bz2
ntp: explicitly enable openssl-random when crypto is enabled
If OpenSSL is selected, --enable-openssl-random should be explicitly enabled for consistency with the disable case. [Peter: tweak commit text] Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/ntp/ntp.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk
index 74cf546988..cc363269c3 100644
--- a/package/ntp/ntp.mk
+++ b/package/ntp/ntp.mk
@@ -24,7 +24,7 @@ NTP_CONF_OPTS = \
NTP_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
-NTP_CONF_OPTS += --with-crypto
+NTP_CONF_OPTS += --with-crypto --enable-openssl-random
NTP_DEPENDENCIES += openssl
else
NTP_CONF_OPTS += --without-crypto --disable-openssl-random