Bugzilla – Attachment 2284 Details for
Bug 2112
Android doesn't provide an implementation of crypt().
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use OpenSSL DES_crypt function as a drop-in replacement for crypt().
openssh-use-openssl-crypt.patch (text/plain), 473 bytes, created by
Nathan Osman
on 2013-06-02 05:28:50 AEST
(
hide
)
Description:
Use OpenSSL DES_crypt function as a drop-in replacement for crypt().
Filename:
MIME Type:
Creator:
Nathan Osman
Created:
2013-06-02 05:28:50 AEST
Size:
473 bytes
patch
obsolete
>=== modified file 'openbsd-compat/xcrypt.c' >--- openbsd-compat/xcrypt.c 2013-06-01 07:14:32 +0000 >+++ openbsd-compat/xcrypt.c 2013-06-01 19:22:38 +0000 >@@ -55,7 +55,14 @@ > > # if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) > # include "md5crypt.h" >-# endif >+# endif >+ >+# if defined(HAVE_OPENSSL) >+# include <openssl/des.h> >+# if !defined(HAVE_CRYPT_H) >+# define crypt DES_crypt >+# endif >+# endif > > char * > xcrypt(const char *password, const char *salt) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2112
:
2284
|
2288