2003-02-13 Havoc Pennington <hp@pobox.com>
authorHavoc Pennington <hp@redhat.com>
Thu, 13 Feb 2003 04:18:44 +0000 (04:18 +0000)
committerHavoc Pennington <hp@redhat.com>
Thu, 13 Feb 2003 04:18:44 +0000 (04:18 +0000)
* test/data/auth/fail-after-n-attempts.auth-script: new test

* dbus/dbus-auth.c (send_rejected): shutdown_mech() when we
reject the client.

ChangeLog
dbus/dbus-auth.c

index 645011e..4320690 100644 (file)
--- 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
 
index 324391e..8125a8e 100644 (file)
@@ -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;