Dmitry Timoshkov : kerberos: Don' t fail InitializeSecurityContext if there are unsupported flags.

Alexandre Julliard julliard at winehq.org
Thu Jan 25 17:37:40 CST 2018


Module: wine
Branch: master
Commit: 1cf6624f91a5e05da673f040449abfdd204d6cd1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1cf6624f91a5e05da673f040449abfdd204d6cd1

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Thu Jan 25 11:34:08 2018 +0800

kerberos: Don't fail InitializeSecurityContext if there are unsupported flags.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kerberos/krb5_ap.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/kerberos/krb5_ap.c b/dlls/kerberos/krb5_ap.c
index ba89806..2d3b601 100644
--- a/dlls/kerberos/krb5_ap.c
+++ b/dlls/kerberos/krb5_ap.c
@@ -471,10 +471,7 @@ static NTSTATUS NTAPI kerberos_SpInitLsaModeContext( LSA_SEC_HANDLE credential,
            context_req, target_data_rep, input, new_context, output, context_attr, ts_expiry,
            mapped_context, context_data );
     if (context_req & ~supported)
-    {
         FIXME( "flags 0x%08x not supported\n", context_req & ~supported );
-        return SEC_E_UNSUPPORTED_FUNCTION;
-    }
 
     if (!context && !input && !credential) return SEC_E_INVALID_HANDLE;
     cred_handle = credhandle_sspi_to_gss( credential );




More information about the wine-cvs mailing list