[libsoup/libsoup-3-0] negotiate: don't request mutual authentication



commit 0a680103d1ab6a3ff44773178e72e94f6de63485
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 1e5340d0..d3d6895e 100644
--- a/libsoup/auth/soup-auth-negotiate.c
+++ b/libsoup/auth/soup-auth-negotiate.c
@@ -585,7 +585,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]