diff options
Diffstat (limited to 'libbb/pw_encrypt_sha.c')
-rw-r--r-- | libbb/pw_encrypt_sha.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/pw_encrypt_sha.c b/libbb/pw_encrypt_sha.c index 070e0d442..e46848b71 100644 --- a/libbb/pw_encrypt_sha.c +++ b/libbb/pw_encrypt_sha.c | |||
@@ -196,9 +196,9 @@ sha_crypt(/*const*/ char *key_data, /*const*/ char *salt_data) | |||
196 | //TODO: replace with something like | 196 | //TODO: replace with something like |
197 | // bb_uuencode(cp, src, length, bb_uuenc_tbl_XXXbase64); | 197 | // bb_uuencode(cp, src, length, bb_uuenc_tbl_XXXbase64); |
198 | #define b64_from_24bit(B2, B1, B0, N) \ | 198 | #define b64_from_24bit(B2, B1, B0, N) \ |
199 | do { \ | 199 | do { \ |
200 | unsigned w = ((B2) << 16) | ((B1) << 8) | (B0); \ | 200 | unsigned w = ((B2) << 16) | ((B1) << 8) | (B0); \ |
201 | resptr = to64(resptr, w, N); \ | 201 | resptr = to64(resptr, w, N); \ |
202 | } while (0) | 202 | } while (0) |
203 | if (is_sha512 == '5') { | 203 | if (is_sha512 == '5') { |
204 | unsigned i = 0; | 204 | unsigned i = 0; |