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.
This commit is contained in:
Havoc Pennington 2003-02-13 04:18:44 +00:00
parent 5970d04af5
commit 0362840f1d
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,10 @@
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

View 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;