svn commit: r266818 - stable/9/secure/lib/libcrypt

Xin LI delphij at FreeBSD.org
Wed May 28 19:05:47 UTC 2014


Author: delphij
Date: Wed May 28 19:05:46 2014
New Revision: 266818
URL: http://svnweb.freebsd.org/changeset/base/266818

Log:
  MFC r265995:
  
  Switch using the new $2b$ format by default, when bcrypt is used.
  
  Relnotes:	default Blowfish crypt(3) format have been changed to $2b$.
  Approved by:	re (gjb)

Modified:
  stable/9/secure/lib/libcrypt/crypt-blowfish.c
Directory Properties:
  stable/9/secure/lib/libcrypt/   (props changed)

Modified: stable/9/secure/lib/libcrypt/crypt-blowfish.c
==============================================================================
--- stable/9/secure/lib/libcrypt/crypt-blowfish.c	Wed May 28 18:53:10 2014	(r266817)
+++ stable/9/secure/lib/libcrypt/crypt-blowfish.c	Wed May 28 19:05:46 2014	(r266818)
@@ -150,7 +150,7 @@ crypt_blowfish(const char *key, const ch
 	char arounds[3];
 
 	/* Defaults */
-	minr = 'a';
+	minr = 'b';
 	logr = BCRYPT_MINLOGROUNDS;
 	rounds = 1U << logr;
 


More information about the svn-src-stable-9 mailing list