configure and have crypt or DES_crypt
Roumen Petrov
openssh at roumenpetrov.info
Tue Mar 3 23:28:34 AEDT 2015
Hello,
With current portable master source tree HAVE_CRYPT and HAVE_DES_CRYPT
are not defined.
It seems to me this is regression introduced with implementation of
configure options --with-openssl.
Impacted code is in xcrypt.c:
...
# if defined(WITH_OPENSSL) && !defined(HAVE_CRYPT) &&
defined(HAVE_DES_CRYPT)
# include <openssl/des.h>
# define crypt DES_crypt
# endif
...
Only above preprocessor statement use defines HAVE_CRYPT and HAVE_DES_CRYPT.
Configure script look like (
if with OpenSSL then
....
else
...
AC_CHECK_FUNCS([crypt DES_crypt])
fi
Proposed patch restore previous behavior.
Regards,
Roumen Petrov
--
Get SSH with X.509 certificate support
http://roumenpetrov.info/openssh/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure.ac-rewrite-check-for-functions-crypt-and-D.patch
Type: text/x-diff
Size: 971 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20150303/62b8fd22/attachment.bin>
More information about the openssh-unix-dev
mailing list