chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup: Replace a few calls to malloc/realloc with safe_malloc
[secnet.git]
/
transform-cbcmac.c
diff --git
a/transform-cbcmac.c
b/transform-cbcmac.c
index 1390ee884a9ff70eefb5e17b970be05637839033..fac8649587e58cb9451bf88317fed943f36ad82a 100644
(file)
--- a/
transform-cbcmac.c
+++ b/
transform-cbcmac.c
@@
-336,7
+336,7
@@
void transform_cbcmac_module(dict_t *dict)
const char *errmsg;
int i;
- tr =
malloc(sizeof(struct transform)
);
+ tr =
safe_malloc(sizeof(struct transform),"test transform"
);
tr->max_seq_skew = 20;
ti = transform_create(tr);