(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:
Assar Westerlund
1999-11-29 03:51:28 +00:00
parent 74d78edbb1
commit 3915ce7431

View File

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