sha passwords

This commit is contained in:
joonicks
2018-03-09 03:51:03 +01:00
parent f9d37e65a4
commit 00da630c45
14 changed files with 568 additions and 44 deletions

View File

@@ -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