aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crypto.c3
-rw-r--r--postprocess.cpp2
-rw-r--r--service_provider.c4
3 files changed, 4 insertions, 5 deletions
diff --git a/crypto.c b/crypto.c
index 777d617..78b48a6 100644
--- a/crypto.c
+++ b/crypto.c
@@ -540,5 +540,8 @@ void crypto_test(void)
//dump_hash(root2);
check("Merkle compute", hash_equals(root1, root2));
}
+
+ {
+ }
#endif
}
diff --git a/postprocess.cpp b/postprocess.cpp
index 94c30cb..c57d9ff 100644
--- a/postprocess.cpp
+++ b/postprocess.cpp
@@ -37,7 +37,7 @@ int main()
if(counts[i])
{
means[i] = sums[i] / counts[i];
- printf("%d %g\n", 1<<i, means[i]);
+ printf("%d %g\n", i, means[i]);
}
}
}
diff --git a/service_provider.c b/service_provider.c
index d944675..3a01111 100644
--- a/service_provider.c
+++ b/service_provider.c
@@ -1216,10 +1216,6 @@ static void sp_handle_client(struct service_provider *sp, int cl)
iomt_serialize(acl, write_to_fd, &cl);
iomt_free(acl);
}
- else
- {
- printf("failed: %s\n", tm_geterror());
- }
break;
}