From 0362840f1d4648f240e211e12767ef6990ca2bb6 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 13 Feb 2003 04:18:44 +0000 Subject: 2003-02-13 Havoc Pennington * test/data/auth/fail-after-n-attempts.auth-script: new test * dbus/dbus-auth.c (send_rejected): shutdown_mech() when we reject the client. --- dbus/dbus-auth.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbus/dbus-auth.c') 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; -- cgit