Switch using the new $2b$ format by default, when bcrypt is used.
MFC after: 2 weeks Relnotes: default Blowfish crypt(3) format have been changed to $2b$.
This commit is contained in:
parent
f5da602e47
commit
185e05ee1a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265995
@ -149,7 +149,7 @@ crypt_blowfish(const char *key, const char *salt)
|
||||
char arounds[3];
|
||||
|
||||
/* Defaults */
|
||||
minr = 'a';
|
||||
minr = 'b';
|
||||
logr = BCRYPT_MINLOGROUNDS;
|
||||
rounds = 1U << logr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user