X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/3eae5368f1c625257a93a18bec49a5a500b3f78e..8b4052ad6015aa9f54c9c824f28655f230d09d8d:/keyid.c diff --git a/keyid.c b/keyid.c index 66713d1..2bec710 100644 --- a/keyid.c +++ b/keyid.c @@ -8,7 +8,6 @@ #include -#include "assert.h" #include "keyid.h" #include "keystructs.h" #include "log.h" @@ -44,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; @@ -110,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: