Skip to content

Commit

Permalink
crypt(3) - Forgotten string in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
thesjg committed Jan 20, 2012
1 parent 5108d56 commit 7226fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libcrypt/deprecated-crypt-sha256.c
Expand Up @@ -56,7 +56,7 @@ crypt_deprecated_sha256(const char *pw, const char *salt)
* the closing $. This data is what just happened to be (consistently
* miraculously) on the stack following magic on 64-bit.
*/
static const char *magic = "$3$";
static const char *magic = "$3$\0sha5";

static char passwd[120], *p;
static const char *sp, *ep;
Expand Down

0 comments on commit 7226fb0

Please sign in to comment.