diff options
author | Havoc Pennington <hp@redhat.com> | 2003-02-13 04:18:44 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-02-13 04:18:44 +0000 |
commit | 0362840f1d4648f240e211e12767ef6990ca2bb6 (patch) | |
tree | 4d585123b4ca98f34c8608127ce3a2ec87cd0b4c /dbus | |
parent | 5970d04af540af4825958272cba950c0b7dff15d (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.
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |