projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove Jansson dependence in tr_name.h
[trust_router.git]
/
common
/
tr_dh.c
diff --git
a/common/tr_dh.c
b/common/tr_dh.c
index
e8f2b79
..
031b404
100644
(file)
--- a/
common/tr_dh.c
+++ b/
common/tr_dh.c
@@
-286,7
+286,12
@@
int tr_dh_pub_hash(TID_REQ *request,
return 0;
}
-void tr_dh_free(DH *dh)
+void tr_dh_free(unsigned char *dh_buf)
+{
+ free(dh_buf);
+}
+
+void tr_dh_destroy(DH *dh)
{
DH_free(dh);
}