lineedit: do not hang on error, but return error indicator.
[oweals/busybox.git] / libbb / pw_encrypt_sha.c
index e71f96fdced2e8da87df9708ea305a4b88e85c8d..070e0d442cd8c66a35b4508bf18547671eaa83f2 100644 (file)
@@ -20,7 +20,7 @@ sha_crypt(/*const*/ char *key_data, /*const*/ char *salt_data)
 {
        void (*sha_begin)(void *ctx) FAST_FUNC;
        void (*sha_hash)(const void *buffer, size_t len, void *ctx) FAST_FUNC;
-       void* (*sha_end)(void *resbuf, void *ctx) FAST_FUNC;
+       void (*sha_end)(void *resbuf, void *ctx) FAST_FUNC;
        int _32or64;
 
        char *result, *resptr;