X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/394938c479925750ffe56c28d281945ba4003a14..348e7d134e9243fd72cf8fbe366c77c1571faec1:/cleankey.c diff --git a/cleankey.c b/cleankey.c index f3110cc..4d1ec1c 100644 --- a/cleankey.c +++ b/cleankey.c @@ -6,7 +6,6 @@ * Copyright 2004 Project Purple */ -#include #include #include #include @@ -31,7 +30,7 @@ int dedupuids(struct openpgp_publickey *key) struct openpgp_signedpacket_list *tmp = NULL; int merged = 0; - assert(key != NULL); + log_assert(key != NULL); curuid = key->uids; while (curuid != NULL) { dup = find_signed_packet(curuid->next, curuid->packet); @@ -48,7 +47,7 @@ int dedupuids(struct openpgp_publickey *key) while (tmp != NULL && tmp->next != dup) { tmp = tmp->next; } - assert(tmp != NULL); + log_assert(tmp != NULL); tmp->next = dup->next; dup->next = NULL; free_signedpacket_list(dup);