configure and have crypt or DES_crypt

Roumen Petrov openssh at roumenpetrov.info
Wed Mar 4 04:24:11 AEDT 2015


Damien Miller wrote:
> On Tue, 3 Mar 2015, Roumen Petrov wrote:
>
>> 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.
> ...
>> Proposed patch restore previous behavior.
> I think that might break some systems that configure --without-openssl,
> so it probably better to move the test out of the if-else entirely.
I take this into account. This is reason to point to code where is used 
- only lines
# if defined(WITH_OPENSSL) && !defined(HAVE_CRYPT) && 
defined(HAVE_DES_CRYPT)
#  include <openssl/des.h>
#  define crypt DES_crypt
# endif

Build without openssl should not be impacted. On those system SSH cannot 
be build without libcrypto.


Regards,
Roumen Petrov


-- 
Get SSH with X.509 certificate support
http://roumenpetrov.info/openssh/



More information about the openssh-unix-dev mailing list