diff options
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/crypt/bcrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c index a8c1b9e7c8..940daf233e 100644 --- a/src/lib/libc/crypt/bcrypt.c +++ b/src/lib/libc/crypt/bcrypt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bcrypt.c,v 1.55 2015/09/13 15:33:48 guenther Exp $ */ | 1 | /* $OpenBSD: bcrypt.c,v 1.56 2016/06/26 21:04:08 tedu Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 4 | * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
| @@ -261,7 +261,7 @@ _bcrypt_autorounds(void) | |||
| 261 | duration *= 2; | 261 | duration *= 2; |
| 262 | } | 262 | } |
| 263 | /* too slow? speed it up. */ | 263 | /* too slow? speed it up. */ |
| 264 | while (r > 4 && duration > 120000) { | 264 | while (r > 6 && duration > 120000) { |
| 265 | r -= 1; | 265 | r -= 1; |
| 266 | duration /= 2; | 266 | duration /= 2; |
| 267 | } | 267 | } |
