summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-08-16 20:54:03 +1200
committerAndreas Schneider <asn@cryptomilk.org>2019-09-19 09:28:21 +0000
commitd566a4d3e1019cf356b364826fa3ab0cd970818d (patch)
tree88a0769f165f8ecb7fda804c7b48e725e22ac73a /lib/replace/wscript
parentbc4e8b1abaf8431d1f507107cf60e57da75c0bef (diff)
downloadsamba-d566a4d3e1019cf356b364826fa3ab0cd970818d.tar.gz
replace: Remove crypt() reimplementation
Use of Samba with plaintext authenticaiton is incredibly rare, even more rare is plaintext authentication on systems without a crypt() call and where DES based crypt() would be the right thing to do. Remove this additional cryptographic code per our current efforts to rely entirely on external libraries instead. Similar to the arguments in this thread about zlib discussed on samba-technical here: https://lists.samba.org/archive/samba-technical/2019-May/133476.html Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Sep 19 09:28:21 UTC 2019 on sn-devel-184
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index cdfe9435d84..c22262191c2 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -830,7 +830,6 @@ def build(bld):
REPLACE_SOURCE = REPLACE_HOSTCC_SOURCE
REPLACE_SOURCE += ' cwrap.c'
- if not bld.CONFIG_SET('HAVE_CRYPT'): REPLACE_SOURCE += ' crypt.c'
if not bld.CONFIG_SET('HAVE_DLOPEN'): REPLACE_SOURCE += ' dlfcn.c'
if not bld.CONFIG_SET('HAVE_POLL'): REPLACE_SOURCE += ' poll.c'