Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 00:50:31 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265995 - head/secure/lib/libcrypt
Message-ID:  <201405140050.s4E0oVP3000451@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed May 14 00:50:31 2014
New Revision: 265995
URL: http://svnweb.freebsd.org/changeset/base/265995

Log:
  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$.

Modified:
  head/secure/lib/libcrypt/crypt-blowfish.c

Modified: head/secure/lib/libcrypt/crypt-blowfish.c
==============================================================================
--- head/secure/lib/libcrypt/crypt-blowfish.c	Wed May 14 00:39:54 2014	(r265994)
+++ head/secure/lib/libcrypt/crypt-blowfish.c	Wed May 14 00:50:31 2014	(r265995)
@@ -149,7 +149,7 @@ crypt_blowfish(const char *key, const ch
 	char arounds[3];
 
 	/* Defaults */
-	minr = 'a';
+	minr = 'b';
 	logr = BCRYPT_MINLOGROUNDS;
 	rounds = 1U << logr;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405140050.s4E0oVP3000451>