summaryrefslogtreecommitdiff
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:04:08 +1000
commitfb7c5c26971fbe2d00c7c3b0689e3380c7a6e999 (patch)
tree2ead6cf5fe9f1b21ec3a3935d8241334a6d545cc
parenta0b5ec7797aa213da4fc62c40f5a94b88f153967 (diff)
downloadsamba-fb7c5c26971fbe2d00c7c3b0689e3380c7a6e999.tar.gz
samba-fb7c5c26971fbe2d00c7c3b0689e3380c7a6e999.tar.bz2
samba-fb7c5c26971fbe2d00c7c3b0689e3380c7a6e999.zip
Clarify comment
(This used to be commit 719941e929ddb6fea011fcc0c8c6b91c26e586af)
-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);