summaryrefslogtreecommitdiffstats
path: root/src/gss_creds.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-07-17 03:20:16 -0400
committerSimo Sorce <simo@redhat.com>2013-07-18 22:37:25 -0400
commita121c1b405c43b6fcc48fb87ebbe78b9e9dbb74c (patch)
tree48f99d240ad207aaae8d4080401e8f0f0e577f00 /src/gss_creds.c
parentf3873d6853b7101a8cb82e80586541996a748990 (diff)
downloadgss-ntlmssp-a121c1b405c43b6fcc48fb87ebbe78b9e9dbb74c.tar.gz
gss-ntlmssp-a121c1b405c43b6fcc48fb87ebbe78b9e9dbb74c.tar.xz
gss-ntlmssp-a121c1b405c43b6fcc48fb87ebbe78b9e9dbb74c.zip
Add NTLM Crypto support functions for NTLMv1
Diffstat (limited to 'src/gss_creds.c')
-rw-r--r--src/gss_creds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gss_creds.c b/src/gss_creds.c
index b16f9ca..2f062bd 100644
--- a/src/gss_creds.c
+++ b/src/gss_creds.c
@@ -98,7 +98,7 @@ static int get_initial_creds(struct gssntlm_name *name,
goto done;
}
cred->cred.user.nt_hash.length = 16;
- ret = ntlm_pwd_to_nt_hash(pwd, &cred->cred.user.nt_hash);
+ ret = NTOWFv1(pwd, &cred->cred.user.nt_hash);
goto done;
}