Skip to content

Commit 7134b95

Browse files
FeoOnesimo5
authored andcommitted
Make sending only filled MsvAvFlags field for CHALLENGE message
Signed-off-by: Aleksandr Feoktistov <fe0@ya.ru>
1 parent e027bbd commit 7134b95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gss_sec_ctx.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,8 @@ uint32_t gssntlm_accept_sec_context(uint32_t *minor_status,
756756
nb_domain_name,
757757
server_name->data.server.name,
758758
NULL, NULL,
759-
&av_flags, &timestamp,
759+
av_flags ? &av_flags : NULL, /* don't include empty MsvAvFlags */
760+
&timestamp,
760761
NULL,
761762
server_name->data.server.spn,
762763
NULL,

0 commit comments

Comments
 (0)