summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth/credentials/credentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/credentials/credentials.c b/auth/credentials/credentials.c
index 2342d7253cc..152df96ac75 100644
--- a/auth/credentials/credentials.c
+++ b/auth/credentials/credentials.c
@@ -534,7 +534,7 @@ _PUBLIC_ struct samr_Password *cli_credentials_get_nt_hash(struct cli_credential
password, password_len);
if (converted != sizeof(nt_hash->hash)) {
TALLOC_FREE(nt_hash);
- return false;
+ return NULL;
}
} else {
E_md4hash(password, nt_hash->hash);