summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-09-05 16:43:18 +0200
committerJeremy Allison <jra@samba.org>2017-09-05 23:06:41 +0200
commitf8b491fac42b95cecad419e1a54fd5e7ee6cb9e3 (patch)
tree3d35f1c5fca41e495dc609956015b477c1f1c481 /auth
parent5b53254ffcc9b5bd4e754969e8c74b50c44cd90c (diff)
downloadsamba-f8b491fac42b95cecad419e1a54fd5e7ee6cb9e3.tar.gz
cli_credentials: Fix a return value
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 5 23:06:42 CEST 2017 on sn-devel-144
Diffstat (limited to 'auth')
-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);