FreeBSD Bugzilla – Attachment 145169 Details for
Bug 192277
[EN-14:11] crypt(3) regression
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Change DES back to the default password format
libcrypt.diff (text/plain), 788 bytes, created by
Xin LI
on 2014-07-31 00:08:44 UTC
(
hide
)
Description:
Change DES back to the default password format
Filename:
MIME Type:
Creator:
Xin LI
Created:
2014-07-31 00:08:44 UTC
Size:
788 bytes
patch
obsolete
>Index: lib/libcrypt/crypt.c >=================================================================== >--- lib/libcrypt/crypt.c (revision 269309) >+++ lib/libcrypt/crypt.c (working copy) >@@ -46,9 +46,13 @@ static const struct crypt_format { > const char *const magic; > } crypt_formats[] = { > /* default format */ >+#ifdef HAS_DES >+ { "des", crypt_des, "_" }, >+#endif >+ >+ /* other supported formats */ > { "sha512", crypt_sha512, "$6$" }, > >- /* other supported formats */ > { "md5", crypt_md5, "$1$" }, > #ifdef HAS_BLOWFISH > { "blf", crypt_blowfish, "$2" }, >@@ -55,9 +59,6 @@ static const struct crypt_format { > #endif > { "nth", crypt_nthash, "$3$" }, > { "sha256", crypt_sha256, "$5$" }, >-#ifdef HAS_DES >- { "des", crypt_des, "_" }, >-#endif > > /* sentinel */ > { NULL, NULL, NULL }
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 192277
:
145169
|
148061