aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-09 19:07:57 -0400
committerFranklin Wei <me@fwei.tk>2018-07-09 19:07:57 -0400
commit9d1c4774b274aed0d06551238462a4535cdda2f1 (patch)
tree9bb3849175b7d0f764d1c80500f2916485cc5ac5
parentab8d3d75ce0dbd2b328b0b40dcb4d1e5f9dc862d (diff)
downloadcsaa-9d1c4774b274aed0d06551238462a4535cdda2f1.zip
csaa-9d1c4774b274aed0d06551238462a4535cdda2f1.tar.gz
csaa-9d1c4774b274aed0d06551238462a4535cdda2f1.tar.bz2
csaa-9d1c4774b274aed0d06551238462a4535cdda2f1.tar.xz
Clean up some minor stuff
-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;
}