* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2003 Project Purple
- *
- * $Id: splitkeys.c,v 1.4 2003/10/15 21:15:21 noodles Exp $
*/
#include <fcntl.h>
#include "log.h"
#include "mem.h"
#include "onak-conf.h"
+#include "openpgp.h"
#include "parsekey.h"
int main(int argc, char *argv[])
tmp = list_end;
list_end = list_end->next;
if (list_end->next == NULL &&
- list_end->packet->tag == 6) {
+ list_end->packet->tag ==
+ OPENPGP_PACKET_PUBLICKEY) {
tmp->next = NULL;
}
}