Skip to content

Commit 408af14

Browse files
authored
Merge pull request openwrt#6108 from cotequeiroz/openldap_openssl-1.1
openldap: use /dev/urandom as entropy source
2 parents 9a7a241 + b06bac0 commit 408af14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libs/openldap/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=openldap
1111
PKG_VERSION:=2.4.45
12-
PKG_RELEASE:=2
12+
PKG_RELEASE:=3
1313

1414
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
1515
PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
@@ -82,7 +82,8 @@ define Package/openldap-server/conffiles
8282
/etc/openldap/slapd.conf
8383
endef
8484

85-
TARGET_CFLAGS += $(FPIC) -lpthread
85+
TARGET_CFLAGS += $(FPIC) -lpthread \
86+
-DURANDOM_DEVICE=\\\"/dev/urandom\\\"
8687

8788
CONFIGURE_ARGS += \
8889
--enable-shared \

0 commit comments

Comments
 (0)