comparison debug.h @ 496:9f583f4d59a6

propagate from branch 'au.asn.ucc.matt.dropbear.pubkey-options' (head 537a6ebebb46424b967ffe787f0f8560e5f447e8) to branch 'au.asn.ucc.matt.dropbear' (head 10b2f286b9886364db39dfbb4f8f46e49e345d87)
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Sep 2008 13:16:22 +0000
parents d59f628e7baa df7f7da7f6e4
children 7fc4ba3c1cbb
comparison
equal deleted inserted replaced
495:cd02449b709c 496:9f583f4d59a6
65 #define TRACE(X) dropbear_trace X; 65 #define TRACE(X) dropbear_trace X;
66 #else /*DEBUG_TRACE*/ 66 #else /*DEBUG_TRACE*/
67 #define TRACE(X) 67 #define TRACE(X)
68 #endif /*DEBUG_TRACE*/ 68 #endif /*DEBUG_TRACE*/
69 69
70 /* To debug with GDB it is easier to run with no forking of child processes.
71 You will need to pass "-F" as well. */
72 /* #define DEBUG_NOFORK */
73
74
70 /* For testing as non-root on shadowed systems, include the crypt of a password 75 /* For testing as non-root on shadowed systems, include the crypt of a password
71 * here. You can then log in as any user with this password. Ensure that you 76 * here. You can then log in as any user with this password. Ensure that you
72 * make your own password, and are careful about using this. This will also 77 * make your own password, and are careful about using this. This will also
73 * disable some of the chown pty code etc*/ 78 * disable some of the chown pty code etc*/
74 /* #define DEBUG_HACKCRYPT "hL8nrFDt0aJ3E" */ /* this is crypt("password") */ 79 /* #define DEBUG_HACKCRYPT "hL8nrFDt0aJ3E" */ /* this is crypt("password") */