#include "charfuncs.h"
#include "keystructs.h"
-#include "log.h"
#include "mem.h"
-#include "onak-conf.h"
#include "openpgp.h"
#include "parsekey.h"
}
}
- readconfig(NULL);
- initlogthing("splitkeys", config.logfile);
-
do {
read_openpgp_stream(stdin_getchar, NULL,
&packets, maxkeys);
tmp->next = NULL;
}
}
- if (tmp->next != NULL) {
+ if (tmp != NULL && tmp->next != NULL) {
list_end = NULL;
}
}
} while (packets != NULL);
- cleanuplogthing();
- cleanupconfig();
-
return 0;
}