(crypt_md5): add trailing $
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7448 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -209,6 +209,7 @@ crypt_md5(pw, salt)
|
||||
/* Now make the output string */
|
||||
strcpy(passwd, magic); /* sizeof(passwd) > sizeof(magic) */
|
||||
strncat(passwd, sp, sl); /* ok, since sl <= 8 */
|
||||
strcat(passwd, "$");
|
||||
|
||||
MD5Final(final,&ctx);
|
||||
|
||||
|
Reference in New Issue
Block a user