mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
kerberos: Fix parameter check in kerberos_SpUnsealMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1195f58643
commit
e1bef53ebb
1 changed files with 1 additions and 1 deletions
|
@ -1339,7 +1339,7 @@ static NTSTATUS NTAPI kerberos_SpUnsealMessage( LSA_SEC_HANDLE context, SecBuffe
|
|||
TRACE( "(%lx %p %u %p)\n", context, message, message_seq_no, quality_of_protection );
|
||||
if (message_seq_no) FIXME( "ignoring message_seq_no %u\n", message_seq_no );
|
||||
|
||||
if (context) return SEC_E_INVALID_HANDLE;
|
||||
if (!context) return SEC_E_INVALID_HANDLE;
|
||||
ctxt_handle = ctxthandle_sspi_to_gss( context );
|
||||
|
||||
if ((data_idx = get_buffer_index( message, SECBUFFER_DATA )) == -1) return SEC_E_INVALID_TOKEN;
|
||||
|
|
Loading…
Reference in a new issue