Fix sending responses in cert-server 51/147751/4
authorPiotr Sawicki <p.sawicki2@partner.samsung.com>
Tue, 5 Sep 2017 10:40:05 +0000 (12:40 +0200)
committerPiotr Sawicki <p.sawicki2@partner.samsung.com>
Thu, 7 Sep 2017 08:31:58 +0000 (10:31 +0200)
commitc2d20285f8f75e43d94a0113260a8c53e4f60921
tree0f4d6990fba08e8ea37ba37f3276561676dbf668
parent95843aa9b16eead28d181ffe34b067fda75545d9
Fix sending responses in cert-server

This commit prevents from sending a partial response to the client.
Morover, two memory leaks have been fixed in procedures responsible
for retrieving a list of certificates.

Change-Id: I9cc27db73ebce9cbeb7c0c04b8f5f56f06201604
src/server/src/cert-server-main.c