2003-02-13 Havoc Pennington <hp@pobox.com>
authorHavoc Pennington <hp@redhat.com>
Thu, 13 Feb 2003 04:11:57 +0000 (04:11 +0000)
committerHavoc Pennington <hp@redhat.com>
Thu, 13 Feb 2003 04:11:57 +0000 (04:11 +0000)
commit5970d04af540af4825958272cba950c0b7dff15d
treee06f9e7a8d0e93f851a2b4d6da3bc7c46f1cb685
parentc9ea8fac502c6109713aa372c4c8cfafd0b86858
2003-02-13  Havoc Pennington  <hp@pobox.com>

* dbus/dbus-auth.c (handle_server_data_external_mech): args to
dbus_credentials_match were backward

* dbus/dbus-auth-script.c (_dbus_auth_script_run): support
NO_CREDENTIALS and ROOT_CREDENTIALS

* dbus/dbus-auth.c (_dbus_auth_do_work): move get_state() routine
into here. Never process more commands after we've reached an
end state; store further data as unused bytes.

* test/data/auth/*: add more auth tests

* dbus/dbus-auth-script.c (_dbus_auth_script_run): support EXPECT
command to match exact string and EXPECT_UNUSED to match unused
bytes

* test/Makefile.am (dist-hook): fix to dist all the test stuff
ChangeLog
dbus/Makefile.am
dbus/dbus-auth-script.c
dbus/dbus-auth.c
doc/dbus-sasl-profile.txt
test/Makefile.am
test/data/auth/external-failed.auth-script [new file with mode: 0644]
test/data/auth/external-root.auth-script [new file with mode: 0644]
test/data/auth/external-silly.auth-script [new file with mode: 0644]
test/data/auth/external-successful.auth-script [new file with mode: 0644]
test/data/auth/extra-bytes.auth-script [new file with mode: 0644]