pki: Avoid integer overflow when calculating certificate lifetimes.
authorTobias Brunner <tobias@strongswan.org>
Fri, 23 Dec 2011 15:33:24 +0000 (16:33 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 23 Dec 2011 15:33:24 +0000 (16:33 +0100)
commit20d752b4ff582e61a27d0aa8b42222f587665c92
treefa0cc4f859def5ac41e99a8b2c30a6dfcda06b54
parent1267127c114aa6d7c1507d1da4a1af3954c42cde
pki: Avoid integer overflow when calculating certificate lifetimes.

This only works properly if sizeof(time_t) > 4.
src/pki/commands/issue.c
src/pki/commands/self.c
src/pki/commands/signcrl.c