summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-02-27 20:05:37 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-02-27 20:05:37 +0000
commit0743ed4fb6fd6f622adec3b428b15053762c2f5b (patch)
tree245036027405aa8fb755b4d50c1ece40bb8c2f30 /tools
parenta37bed944792acd3396273f96f26a7e3c28a06fd (diff)
- mkpasswd.c:main(): constification
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3074 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'tools')
-rw-r--r--tools/mkpasswd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mkpasswd.c b/tools/mkpasswd.c
index 9c40dc6..0a5347c 100644
--- a/tools/mkpasswd.c
+++ b/tools/mkpasswd.c
@@ -60,9 +60,9 @@ int
main(int argc, char *argv[])
{
const char *plaintext = NULL;
+ const char *saltpara = NULL;
+ const char *salt = NULL;
int c;
- char *saltpara = NULL;
- char *salt;
int flag = 0;
int length = 0; /* Not Set */
int rounds = 0; /* Not set, since extended DES needs 25 and blowfish needs