1. 13 Feb, 2003 3 commits
    • Havoc Pennington's avatar
      2003-02-13 Havoc Pennington <hp@pobox.com> · 5970d04a
      Havoc Pennington authored
      	* 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
      5970d04a
    • Havoc Pennington's avatar
      2003-02-12 Havoc Pennington <hp@pobox.com> · c9ea8fac
      Havoc Pennington authored
      	* dbus/dbus-string.c (_dbus_string_pop_line): fix to also strip
      	\r off of popped lines
      
      	* dbus/dbus-auth.c (_dbus_auth_test): write code to run auth
      	scripts
      
      	* dbus/dbus-auth-script.c (_dbus_auth_script_run): when doing a
      	SEND, append \r\n
      c9ea8fac
    • Havoc Pennington's avatar
      2003-02-10 Havoc Pennington <hp@pobox.com> · 3791dcca
      Havoc Pennington authored
              * dbus/dbus-auth-script.c, dbus/dbus-auth-script.h: sync
      	initial cut at test framework for DBusAuth from laptop.
      	Doesn't quite work yet but it compiles and I need to get
      	it off the 266mhz laptop. ;-)
      
      	* dbus/dbus-server-debug.c (_dbus_server_debug_accept_transport):
      	fix a memleak in error case
      3791dcca