diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/crypt/cryptutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/crypt/cryptutil.c b/src/lib/libc/crypt/cryptutil.c index f48ba1af2c..f5fdb29589 100644 --- a/src/lib/libc/crypt/cryptutil.c +++ b/src/lib/libc/crypt/cryptutil.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cryptutil.c,v 1.12 2015/09/13 15:33:48 guenther Exp $ */ | 1 | /* $OpenBSD: cryptutil.c,v 1.13 2024/01/22 19:26:55 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
4 | * | 4 | * |
@@ -54,7 +54,7 @@ int | |||
54 | crypt_newhash(const char *pass, const char *pref, char *hash, size_t hashlen) | 54 | crypt_newhash(const char *pass, const char *pref, char *hash, size_t hashlen) |
55 | { | 55 | { |
56 | int rv = -1; | 56 | int rv = -1; |
57 | const char *defaultpref = "blowfish,8"; | 57 | const char *defaultpref = "bcrypt,8"; |
58 | const char *errstr; | 58 | const char *errstr; |
59 | const char *choices[] = { "blowfish", "bcrypt" }; | 59 | const char *choices[] = { "blowfish", "bcrypt" }; |
60 | size_t maxchoice = sizeof(choices) / sizeof(choices[0]); | 60 | size_t maxchoice = sizeof(choices) / sizeof(choices[0]); |