summaryrefslogtreecommitdiff
path: root/tools/mpfr
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-04 13:31:32 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-04 13:31:32 +0000
commit8b2e5fdada305606b627317c6df79931903fef23 (patch)
tree6017d39770b9d4653fe8b2040b42636db2b8ea88 /tools/mpfr
parent2d40512fc212bb5af0d18cf1cd34ec56bb325fec (diff)
px5g: creates certificates that expire in the past
the attached patch fixes a bug of px5g when instructed to build certificates that expire after 2038-01-19, caused a multiplication that may overflow the "to" variable of type time_t Attached patch checks if "to" precedes "from": if so sets "to" to its maximum value. Pretty rude, but works well even if certificate is set to expire in a century Signed-off-by: Federico Fissore <federico@fissore.org> Patchork: http://patchwork.openwrt.org/patch/3749/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37165 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mpfr')
0 files changed, 0 insertions, 0 deletions