summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-13 06:27:09 +0100
committerDarren Tucker <dtucker@dtucker.net>2018-02-13 06:27:09 +0100
commit49f3c0ec47730ea264e2bd1e6ece11167d6384df (patch)
tree49e8aa897f38103b7b8dbfc0b3dd3412a9414c3c
parentupstream: remove space before tab (diff)
downloadopenssh-49f3c0ec47730ea264e2bd1e6ece11167d6384df.tar.xz
openssh-49f3c0ec47730ea264e2bd1e6ece11167d6384df.zip
Remove assigned-to-but-never-used variable.
'p' was removed in previous change but I neglected to remove the otherwise-unused assignment to it.
-rw-r--r--md5crypt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/md5crypt.c b/md5crypt.c
index 5625fd3cf..52cf2959a 100644
--- a/md5crypt.c
+++ b/md5crypt.c
@@ -139,8 +139,6 @@ md5_crypt(const char *pw, const char *salt)
MD5_Final(final, &ctx1);
}
- p = passwd + strlen(passwd);
-
l = (final[ 0]<<16) | (final[ 6]<<8) | final[12];
strlcat(passwd, to64(l, 4), sizeof(passwd));
l = (final[ 1]<<16) | (final[ 7]<<8) | final[13];