From 3915ce743125036525b9b325a93383df63c667c0 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 29 Nov 1999 03:51:28 +0000 Subject: [PATCH] (crypt_md5): add trailing $ git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7448 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/fcrypt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/des/fcrypt.c b/lib/des/fcrypt.c index d6beca3ab..7c920794f 100644 --- a/lib/des/fcrypt.c +++ b/lib/des/fcrypt.c @@ -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);