refactor key generation, make it generate as required.

Needs UI in server command line options

--HG--
branch : keyondemand
This commit is contained in:
Matt Johnston
2013-11-07 00:18:52 +08:00
parent cfac8435a7
commit 4363b8b32d
12 changed files with 280 additions and 153 deletions

View File

@@ -40,7 +40,6 @@
* since the printing may not sanitise strings etc. This will add a reasonable
* amount to your executable size. */
/* #define DEBUG_TRACE */
#define DEBUG_TRACE
/* All functions writing to the cleartext payload buffer call
* CHECKCLEARTOWRITE() before writing. This is only really useful if you're
@@ -72,7 +71,7 @@
/* To debug with GDB it is easier to run with no forking of child processes.
You will need to pass "-F" as well. */
#define DEBUG_NOFORK
/* #define DEBUG_NOFORK */
/* For testing as non-root on shadowed systems, include the crypt of a password