mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-09 07:18:03 +02:00
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:
parent
5970d04af5
commit
0362840f1d
2 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue