projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move over to log_assert.
[onak.git]
/
decodekey.c
diff --git
a/decodekey.c
b/decodekey.c
index 723435ad8513335f0aea516f82ecd90c8775f99e..efffad7d7863a7e310647113801fb21ba545c22f 100644
(file)
--- a/
decodekey.c
+++ b/
decodekey.c
@@
-6,7
+6,6
@@
* Copyright 2002 Project Purple
*/
-#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
@@
-35,7
+34,7
@@
int parse_subpackets(unsigned char *data, uint64_t *keyid)
int length = 0;
int packetlen = 0;
- assert(data != NULL);
+
log_
assert(data != NULL);
length = (data[0] << 8) + data[1] + 2;