projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes to bugs discovered during initial tidc/radius integration.
[trust_router.git]
/
common
/
tr_dh.c
diff --git
a/common/tr_dh.c
b/common/tr_dh.c
index
6bda6ee
..
3c0d78b
100644
(file)
--- a/
common/tr_dh.c
+++ b/
common/tr_dh.c
@@
-170,7
+170,7
@@
int tr_compute_dh_key(unsigned char **pbuf,
unsigned char *buf = NULL;;
int rc = 0;
- if ((!buf) ||
+ if ((!
p
buf) ||
(!pub_key) ||
(!priv_dh)) {
fprintf(stderr, "tr_compute_dh_key(): Invalid parameters.\n");