X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/aabf2c1bd3e37fb70b674dba243f927069909534..2fcd017b224f36a75a8e556019920d8bf6db024f:/keyid.c diff --git a/keyid.c b/keyid.c index 5149fd6..2bec710 100644 --- a/keyid.c +++ b/keyid.c @@ -4,13 +4,10 @@ * Jonathan McDowell * * Copyright 2002 Project Purple - * - * $Id: keyid.c,v 1.10 2004/05/31 22:04:51 noodles Exp $ */ #include -#include "assert.h" #include "keyid.h" #include "keystructs.h" #include "log.h" @@ -46,8 +43,8 @@ unsigned char *get_fingerprint(struct openpgp_packet *packet, unsigned char c; size_t modlen, explen; - assert(fingerprint != NULL); - assert(len != NULL); + log_assert(fingerprint != NULL); + log_assert(len != NULL); *len = 0; @@ -112,7 +109,7 @@ uint64_t get_packetid(struct openpgp_packet *packet) size_t length = 0; unsigned char buff[20]; - assert(packet != NULL); + log_assert(packet != NULL); switch (packet->data[0]) { case 2: