summaryrefslogtreecommitdiff
path: root/source3/libsmb/ntlmssp.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-16 17:30:14 -0400
committerAndrew Bartlett <abartlet@samba.org>2010-07-19 14:19:47 +1000
commitcdcdaaa6dd61475b8c0f37ce140a77271175cc9d (patch)
tree29980a85b199666e2ab72507bd7822e02790fde9 /source3/libsmb/ntlmssp.c
parent27aece72004a84a6e0b2e00987d8a362e307d1d8 (diff)
downloadsamba-cdcdaaa6dd61475b8c0f37ce140a77271175cc9d.tar.gz
samba-cdcdaaa6dd61475b8c0f37ce140a77271175cc9d.tar.bz2
samba-cdcdaaa6dd61475b8c0f37ce140a77271175cc9d.zip
s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/libsmb/ntlmssp.c')
-rw-r--r--source3/libsmb/ntlmssp.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 228d19536e..a0dc39be3e 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -275,23 +275,6 @@ NTSTATUS ntlmssp_update(struct ntlmssp_state *ntlmssp_state,
}
/**
- * End an NTLMSSP state machine
- *
- * @param ntlmssp_state NTLMSSP State, free()ed by this function
- */
-
-void ntlmssp_end(struct ntlmssp_state **ntlmssp_state)
-{
- data_blob_free(&(*ntlmssp_state)->chal);
- data_blob_free(&(*ntlmssp_state)->lm_resp);
- data_blob_free(&(*ntlmssp_state)->nt_resp);
- TALLOC_FREE(*ntlmssp_state);
-
- *ntlmssp_state = NULL;
- return;
-}
-
-/**
* Determine correct target name flags for reply, given server role
* and negotiated flags
*