X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;ds=inline;f=stripkey.c;h=5579236cdedb143faf0deeed22d2a5e8289d8d9b;hb=eb94eab34a0893fb5b8f78652f338df85f492a9b;hp=e0fb5e38a56957699c70b7630ca1e7291b2e2a48;hpb=e0dd4d10f385cd19da389ec66622eea8aa66ae59;p=onak.git
diff --git a/stripkey.c b/stripkey.c
index e0fb5e3..5579236 100644
--- a/stripkey.c
+++ b/stripkey.c
@@ -13,30 +13,19 @@
* more details.
*
* You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program. If not, see .
*/
-#include
+#include
#include
#include
-#include
-#include
-#include
-#include "armor.h"
#include "charfuncs.h"
#include "cleankey.h"
-#include "keydb.h"
#include "keyid.h"
-#include "keyindex.h"
#include "keystructs.h"
-#include "log.h"
#include "mem.h"
-#include "merge.h"
-#include "onak-conf.h"
#include "parsekey.h"
-#include "photoid.h"
#include "decodekey.h"
int main(int argc, char** argv) {
@@ -60,7 +49,7 @@ int main(int argc, char** argv) {
parse_keys( packets, &keys );
free_packet_list(packets);
packets = NULL;
- cleankeys( keys );
+ cleankeys(&keys, ONAK_CLEAN_ALL);
/* Iterate over the keys... */
for( key = keys; key; key = key->next ) {
uint64_t keyid;