From 169238e99a4a163c89eb053250daeedf5f73e5cd Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 15 Mar 2003 04:25:09 +0000 Subject: 2003-03-14 Havoc Pennington * bus/dispatch.c (bus_dispatch_test): do test using debug-pipe transport, tests more of the real codepath. Set up clients with bus_setup_debug_client. * bus/test.c (bus_setup_debug_client): function to set up debug "clients" on the main loop * dbus/dbus-transport.c (_dbus_transport_open): add debug-pipe support * dbus/dbus-server.c (dbus_server_listen): add debug-pipe server type * dbus/dbus-server-debug.c: support a debug server based on pipes * dbus/dbus-sysdeps.c (_dbus_full_duplex_pipe): new function (_dbus_close): new function * configure.in: check for socketpair --- dbus/dbus-auth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dbus/dbus-auth.c') diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c index 8dfdc766..73454bc1 100644 --- a/dbus/dbus-auth.c +++ b/dbus/dbus-auth.c @@ -428,8 +428,9 @@ sha1_compute_hash (DBusAuth *auth, return retval; } -/* http://www.ietf.org/rfc/rfc2831.txt suggests at least 64 bits of - * entropy, we use 128 +/** http://www.ietf.org/rfc/rfc2831.txt suggests at least 64 bits of + * entropy, we use 128. This is the number of bytes in the random + * challenge. */ #define N_CHALLENGE_BYTES (128/8) -- cgit