summaryrefslogtreecommitdiffstats
path: root/source/libsmb/ntlmssp.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-07 22:42:43 +0000
committerGerald Carter <jerry@samba.org>2005-02-07 22:42:43 +0000
commitf522ef534aabaeec96115e84110ae58d84e9da24 (patch)
treea241e5079dded7b89dd8a23734af1df2cab67a31 /source/libsmb/ntlmssp.c
parent653a6d24bd267d5e258ccdc568f8df639f2b40fb (diff)
downloadsamba-f522ef534aabaeec96115e84110ae58d84e9da24.tar.gz
samba-f522ef534aabaeec96115e84110ae58d84e9da24.tar.xz
samba-f522ef534aabaeec96115e84110ae58d84e9da24.zip
r5272: BUG 2132, 2134: patch from Jason Mader <jason@ncac.gwu.edu> to remove unused variables
Diffstat (limited to 'source/libsmb/ntlmssp.c')
-rw-r--r--source/libsmb/ntlmssp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/libsmb/ntlmssp.c b/source/libsmb/ntlmssp.c
index eb1fce54392..ec3186255a7 100644
--- a/source/libsmb/ntlmssp.c
+++ b/source/libsmb/ntlmssp.c
@@ -442,13 +442,6 @@ static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
/* This creates the 'blob' of names that appears at the end of the packet */
if (chal_flags & NTLMSSP_CHAL_TARGET_INFO)
{
- const char *target_name_dns = "";
- if (chal_flags |= NTLMSSP_TARGET_TYPE_DOMAIN) {
- target_name_dns = dnsdomname;
- } else if (chal_flags |= NTLMSSP_TARGET_TYPE_SERVER) {
- target_name_dns = dnsname;
- }
-
msrpc_gen(&struct_blob, "aaaaa",
NTLMSSP_NAME_TYPE_DOMAIN, target_name,
NTLMSSP_NAME_TYPE_SERVER, ntlmssp_state->get_global_myname(),