chiark / gitweb /
server/test.c: Trace the key-exchange and bulk crypto details.
[tripe] / server / test.c
index 152a6fe6b7d76bba1c7f7b40152856f4749e37b5..7e25d505e7059ff8001bc51c35558ec9e68346a7 100644 (file)
@@ -132,7 +132,10 @@ 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);
+     master->grp->ops->tracegrp(master->grp);
+     master->algs.bulk->ops->tracealgs(master->algs.bulk); )
 
   arg = getarg();
   if (strcmp(arg, "ies-encrypt") == 0) {