comparison debug.h @ 476:df7f7da7f6e4 pubkey-options

- Rework pubkey options to be more careful about buffer lengths. Needs review.
author Matt Johnston <matt@ucc.asn.au>
date Fri, 12 Sep 2008 17:23:56 +0000
parents fd1f05639ed4
children 9f583f4d59a6
comparison
equal deleted inserted replaced
475:52a644e7b8e1 476:df7f7da7f6e4
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") */