summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-02-13 04:18:44 +0000
committerHavoc Pennington <hp@redhat.com>2003-02-13 04:18:44 +0000
commit0362840f1d4648f240e211e12767ef6990ca2bb6 (patch)
tree4d585123b4ca98f34c8608127ce3a2ec87cd0b4c
parent5970d04af540af4825958272cba950c0b7dff15d (diff)
2003-02-13 Havoc Pennington <hp@pobox.com>
* test/data/auth/fail-after-n-attempts.auth-script: new test * dbus/dbus-auth.c (send_rejected): shutdown_mech() when we reject the client.
-rw-r--r--ChangeLog7
-rw-r--r--dbus/dbus-auth.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 645011eb..4320690c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2003-02-13 Havoc Pennington <hp@pobox.com>
+ * test/data/auth/fail-after-n-attempts.auth-script: new test
+
+ * dbus/dbus-auth.c (send_rejected): shutdown_mech() when we
+ reject the client.
+
+2003-02-13 Havoc Pennington <hp@pobox.com>
+
* dbus/dbus-auth.c (handle_server_data_external_mech): args to
dbus_credentials_match were backward
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c
index 324391ea..8125a8ed 100644
--- a/dbus/dbus-auth.c
+++ b/dbus/dbus-auth.c
@@ -610,6 +610,8 @@ send_rejected (DBusAuth *auth)
_dbus_string_get_length (&auth->outgoing)))
goto nomem;
+ shutdown_mech (auth);
+
_dbus_assert (DBUS_AUTH_IS_SERVER (auth));
server_auth = DBUS_AUTH_SERVER (auth);
server_auth->failures += 1;