diff options
author | Simo Sorce <simo@redhat.com> | 2013-10-17 11:26:49 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-10-18 15:26:32 -0400 |
commit | 9aae9989eae728b66cd1476eb216c95bf3d28981 (patch) | |
tree | a56e7b2e77a0dc1ef9f3df11a8c68269f4c198e4 /src | |
parent | 5a8271d7475029e680f049d24863763b2dce2e38 (diff) | |
download | gss-ntlmssp-9aae9989eae728b66cd1476eb216c95bf3d28981.tar.gz gss-ntlmssp-9aae9989eae728b66cd1476eb216c95bf3d28981.tar.xz gss-ntlmssp-9aae9989eae728b66cd1476eb216c95bf3d28981.zip |
Fix generation of signing keys and add tests
Diffstat (limited to 'src')
-rw-r--r-- | src/ntlm_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ntlm_crypto.c b/src/ntlm_crypto.c index d48f31c..e305e03 100644 --- a/src/ntlm_crypto.c +++ b/src/ntlm_crypto.c @@ -425,7 +425,7 @@ static int ntlm_key_derivation_function(struct ntlm_key *key, int ret; if (key->length > 16) return ERR_CRYPTO; - len = strlen(magic_constant); + len = strlen(magic_constant) + 1; if (len > 64) return ERR_CRYPTO; payload.length = key->length; |