diff options
author | John Crispin <john@openwrt.org> | 2013-07-04 13:31:32 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-07-04 13:31:32 +0000 |
commit | 62cd76ab2c6fecc8daaefe45828a6d71251c92cd (patch) | |
tree | ae4da6ba03b87705f7f5826147e330be381a7120 /package/utils/usbmode | |
parent | a1734998ee431db2ebb8d0d65e368e30b8a1375c (diff) | |
download | upstream-62cd76ab2c6fecc8daaefe45828a6d71251c92cd.tar.gz upstream-62cd76ab2c6fecc8daaefe45828a6d71251c92cd.tar.bz2 upstream-62cd76ab2c6fecc8daaefe45828a6d71251c92cd.zip |
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/
SVN-Revision: 37165
Diffstat (limited to 'package/utils/usbmode')
0 files changed, 0 insertions, 0 deletions