diff options
-rw-r--r-- | crypto_scrypt-check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto_scrypt-check.c b/crypto_scrypt-check.c index 055717f..f198ef0 100644 --- a/crypto_scrypt-check.c +++ b/crypto_scrypt-check.c @@ -96,7 +96,7 @@ int libscrypt_check(char *mcf, const char *password) (uint32_t)retval, N, r, p, hashbuf, sizeof(hashbuf)); if (retval != 0) - return retval; + return -1; retval = libscrypt_b64_encode((unsigned char*)hashbuf, sizeof(hashbuf), outbuf, sizeof(outbuf)); |