diff options
Diffstat (limited to 'include/crypt.h')
-rw-r--r-- | include/crypt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/crypt.h b/include/crypt.h index e0be2832ff2..f18a1705d4d 100644 --- a/include/crypt.h +++ b/include/crypt.h @@ -9,5 +9,6 @@ * @equal Pointer to an int where the result is stored * '0' = unequal * '1' = equal + * @return 0 on success, error code of errno else */ -void crypt_compare(const char *should, const char *passphrase, int *equal); +int crypt_compare(const char *should, const char *passphrase, int *equal); |