Skip to content

Commit

Permalink
Make sending only filled MsvAvFlags field for CHALLENGE message
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Feoktistov <fe0@ya.ru>
  • Loading branch information
FeoOne committed Feb 27, 2024
1 parent 7624c1f commit 8981925
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gss_sec_ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,8 @@ uint32_t gssntlm_accept_sec_context(uint32_t *minor_status,
nb_domain_name,
server_name->data.server.name,
NULL, NULL,
&av_flags, &timestamp,
av_flags ? &av_flags : NULL, /* don't include empty MsvAvFlags */
&timestamp,
NULL,
server_name->data.server.spn,
NULL,
Expand Down

0 comments on commit 8981925

Please sign in to comment.