chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
server/test.c: Don't try to trace if it's turned off.
[tripe]
/
server
/
test.c
diff --git
a/server/test.c
b/server/test.c
index 152a6fe6b7d76bba1c7f7b40152856f4749e37b5..f83cd1e99541a39a229375683adfbf5290364432 100644
(file)
--- a/
server/test.c
+++ b/
server/test.c
@@
-132,7
+132,8
@@
int main(int argc, char *argv[])
args = argv + optind;
km_init(kr, kr, tag);
- trace_on(stderr, tr_flags);
+ if (!master) die(3, "failed to load the master key");
+ T( trace_on(stderr, tr_flags); )
arg = getarg();
if (strcmp(arg, "ies-encrypt") == 0) {