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:
Xin LI 2014-05-14 00:50:31 +00:00
parent f5da602e47
commit 185e05ee1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=265995

View File

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