projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a86644
)
It is not a failure to have no constraints at all, although no authorizations are...
author
Sam Hartman
<hartmans@debian.org>
Mon, 14 Jul 2014 19:59:46 +0000
(15:59 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Mon, 14 Jul 2014 20:07:34 +0000
(16:07 -0400)
tid/example/tids_main.c
patch
|
blob
|
history
diff --git
a/tid/example/tids_main.c
b/tid/example/tids_main.c
index
f67a592
..
79230b7
100644
(file)
--- a/
tid/example/tids_main.c
+++ b/
tid/example/tids_main.c
@@
-105,7
+105,7
@@
static int handle_authorizations(TID_REQ *req, const unsigned char *dh_hash,
if (!req->cons) {
tr_debug("Request has no constraints, so no authorizations.\n");
- return
-1
;
+ return
0
;
}
intersected = tr_constraint_set_intersect(req, req->cons);
if (!intersected)