X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=stripkey.c;h=f845f346c8549cadb51978607e3240ce5e449854;hb=5719b2b50c87d77e4ed1cc054f000845fc9aa8cc;hp=13aeb1d23b3d22014f855109db34495805edb189;hpb=bf8716058fd535ccec14727f58cf1fcf032695a2;p=onak.git diff --git a/stripkey.c b/stripkey.c index 13aeb1d..f845f34 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) { @@ -63,7 +52,8 @@ int main(int argc, char** argv) { cleankeys( keys ); /* Iterate over the keys... */ for( key = keys; key; key = key->next ) { - uint64_t keyid = get_keyid( key ); + uint64_t keyid; + get_keyid( key, &keyid ); for( uid = key->uids; uid; uid = uid->next ) { REPEATTHISUID: for( sig = uid->sigs, prevsig = NULL;