mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
sha passwords
This commit is contained in:
@@ -70,6 +70,11 @@
|
||||
*/
|
||||
@DEF_WINGATE@
|
||||
|
||||
/*
|
||||
* SHACRYPT: support use of SHA to hash passwords
|
||||
*/
|
||||
@DEF_SHA@
|
||||
|
||||
/*
|
||||
* MD5CRYPT: support use of MD5 to hash passwords
|
||||
*/
|
||||
@@ -218,6 +223,7 @@
|
||||
*
|
||||
*/
|
||||
@DEF_CRYPT_FUNCTION@
|
||||
@CRYPT_HAS_SHA@
|
||||
@CRYPT_HAS_MD5@
|
||||
@CRYPT_HAS_DES@
|
||||
|
||||
@@ -446,6 +452,13 @@ const char __mx_opts[] = ""
|
||||
#undef OPT_COREONLY
|
||||
#endif /* DYNCMD */
|
||||
|
||||
#ifdef SHACRYPT
|
||||
OPT_COMMA "sha"
|
||||
#undef OPT_COMMA
|
||||
#define OPT_COMMA ", "
|
||||
#undef OPT_COREONLY
|
||||
#endif /* SHACRYPT */
|
||||
|
||||
#ifdef MD5CRYPT
|
||||
OPT_COMMA "md5"
|
||||
#undef OPT_COMMA
|
||||
|
||||
Reference in New Issue
Block a user