No need for this to pull either the overall onak config or logthing in.
#include "charfuncs.h"
#include "keystructs.h"
#include "charfuncs.h"
#include "keystructs.h"
#include "openpgp.h"
#include "parsekey.h"
#include "openpgp.h"
#include "parsekey.h"
- readconfig(NULL);
- initlogthing("splitkeys", config.logfile);
-
do {
read_openpgp_stream(stdin_getchar, NULL,
&packets, maxkeys);
do {
read_openpgp_stream(stdin_getchar, NULL,
&packets, maxkeys);
}
} while (packets != NULL);
}
} while (packets != NULL);
- cleanuplogthing();
- cleanupconfig();
-