projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support multiple AAA servers. Compiles but untested.
[trust_router.git]
/
common
/
tr_dh.c
diff --git
a/common/tr_dh.c
b/common/tr_dh.c
index
080b9a6
..
c76ab27
100644
(file)
--- a/
common/tr_dh.c
+++ b/
common/tr_dh.c
@@
-171,7
+171,9
@@
void tr_destroy_dh_params(DH *dh) {
}
DH *tr_dup_dh_params(DH *dh) {
- return DHparams_dup(dh);
+ if (dh!=NULL)
+ return DHparams_dup(dh);
+ return NULL;
}
int tr_compute_dh_key(unsigned char **pbuf,