]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Remove assigned-to-but-never-used variable.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 13 Feb 2018 05:27:09 +0000 (16:27 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 13 Feb 2018 05:27:09 +0000 (16:27 +1100)
'p' was removed in previous change but I neglected to remove the
otherwise-unused assignment to it.

md5crypt.c

index 5625fd3cf7177e1b8d37d01e7b8d9b3c5a49b798..52cf2959a832eeb4b586e8ae90cc4f6c66f50ccc 100644 (file)
@@ -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];