[Bug 2112] Android doesn't provide an implementation of crypt().

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Jun 2 05:53:21 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2112

--- Comment #2 from Darren Tucker <dtucker at zip.com.au> ---
Comment on attachment 2284
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2284
Use OpenSSL DES_crypt function as a drop-in replacement for crypt().

>+# if defined(HAVE_OPENSSL)

openssl is mandatory so there's no point checking for this (I'm not
sure why configure even sets it).

>+#  if !defined(HAVE_CRYPT_H)

you don't really care whether or not crypt.h exists, what you really
care about is whether or not you have a crypt function, so that's what
you should be checking for.

I'll attach a modified patch shortly.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list