2003-03-04 Havoc Pennington <hp@pobox.com>
authorHavoc Pennington <hp@redhat.com>
Wed, 5 Mar 2003 02:01:34 +0000 (02:01 +0000)
committerHavoc Pennington <hp@redhat.com>
Wed, 5 Mar 2003 02:01:34 +0000 (02:01 +0000)
commit7e050c88719553d0c74e3dc68caf7bc50ae99590
treef7a9abccae6591849e58e71d45dded9aa76512ec
parent6bea42d2b84121152e4e5c719d23ed22901a972a
2003-03-04  Havoc Pennington  <hp@pobox.com>

* test/data/auth/*: adapt to changes

* dbus/dbus-auth-script.c (_dbus_auth_script_run): add
USERID_BASE64 and change USERNAME_BASE64 to put in username not
userid

* dbus/dbus-keyring.c (_dbus_keyring_validate_context): prevent
more stuff from being in a context name, to make the protocol
simpler to deal with

* dbus/dbus-errors.c (dbus_error_has_name): new function
(dbus_error_is_set): new function

* dbus/dbus-auth.c: replace DBUS_STUPID_TEST_MECH auth
with DBUS_COOKIE_SHA1, implement DBUS_COOKIE_SHA1

* dbus/dbus-connection.c (dbus_connection_flush): also read
messages during a flush operation

* dbus/Makefile.am: remove dbus-md5 since it isn't currently used.
21 files changed:
ChangeLog
dbus/Makefile.am
dbus/dbus-auth-script.c
dbus/dbus-auth.c
dbus/dbus-auth.h
dbus/dbus-connection.c
dbus/dbus-errors.c
dbus/dbus-errors.h
dbus/dbus-keyring.c
dbus/dbus-keyring.h
dbus/dbus-message.c
dbus/dbus-sysdeps.c
dbus/dbus-test.c
doc/dbus-specification.sgml
test/data/auth/external-failed.auth-script
test/data/auth/external-root.auth-script
test/data/auth/external-silly.auth-script
test/data/auth/external-successful.auth-script
test/data/auth/extra-bytes.auth-script
test/data/auth/fail-after-n-attempts.auth-script
test/data/auth/fallback.auth-script