[libsoup/mcatanzaro/#184: 2/4] negotiate: don't request mutual authentication




commit 071694f9d8a1af437065b463ac9e473fe1c8d1d1
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Wed May 4 15:46:43 2022 -0500

    negotiate: don't request mutual authentication
    
    Trying to authenticate the server is cute, but it doesn't work in
    practice on today's internet. Might as well not do it, because we have
    to ignore errors if it fails.
    
    Reference: #184

 libsoup/auth/soup-auth-negotiate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/auth/soup-auth-negotiate.c b/libsoup/auth/soup-auth-negotiate.c
index b3f9f92d..2e9894aa 100644
--- a/libsoup/auth/soup-auth-negotiate.c
+++ b/libsoup/auth/soup-auth-negotiate.c
@@ -586,7 +586,7 @@ soup_gss_client_step (SoupNegotiateConnectionState *conn, const gchar *challenge
                                         &conn->context,
                                         conn->server_name,
                                         (gss_OID) &gss_mech_spnego,
-                                        GSS_C_MUTUAL_FLAG,
+                                        0,
                                         GSS_C_INDEFINITE,
                                         GSS_C_NO_CHANNEL_BINDINGS,
                                         &in,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]