summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-08 14:04:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-08 14:06:40 +1000
commit08d20ece96942aa7c96ec79a3c23f29db45105e3 (patch)
tree2ead6cf5fe9f1b21ec3a3935d8241334a6d545cc /source4
parenta0b5ec7797aa213da4fc62c40f5a94b88f153967 (diff)
downloadsamba-08d20ece96942aa7c96ec79a3c23f29db45105e3.tar.gz
samba-08d20ece96942aa7c96ec79a3c23f29db45105e3.tar.bz2
samba-08d20ece96942aa7c96ec79a3c23f29db45105e3.zip
Clarify comment
(This used to be commit 580cce9de38ddd9d59b272b58caadce528321d09)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/session.c b/source4/auth/session.c
index 8f5e8d6c56..b254ee5da6 100644
--- a/source4/auth/session.c
+++ b/source4/auth/session.c
@@ -98,14 +98,14 @@ _PUBLIC_ NTSTATUS auth_anonymous_server_info(TALLOC_CTX *mem_ctx,
server_info->n_domain_groups = 0;
server_info->domain_groups = NULL;
- /* annoying, but the Anonymous really does have a session key,
- and it is all zeros! */
+ /* annoying, but the Anonymous really does have a session key... */
server_info->user_session_key = data_blob_talloc(server_info, NULL, 16);
NT_STATUS_HAVE_NO_MEMORY(server_info->user_session_key.data);
server_info->lm_session_key = data_blob_talloc(server_info, NULL, 16);
NT_STATUS_HAVE_NO_MEMORY(server_info->lm_session_key.data);
+ /* and it is all zeros! */
data_blob_clear(&server_info->user_session_key);
data_blob_clear(&server_info->lm_session_key);