]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix gmt_mktime for y2038 660/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 26 May 2017 20:20:11 +0000 (16:20 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 31 May 2017 15:18:10 +0000 (11:18 -0400)
commit7e41d97e8dd39833503b74d34e9f0c905a2d4cf2
tree18776ce85e318d757ac3c202c847cf1300ce267d
parent1095dfa9248ac2357d6c08493af88574aa1240b4
Fix gmt_mktime for y2038

gmt_mktime() is used as a fallback when the platform does not have
timegm().  Make it work for dates in the unsigned 32-bit range, not
the signed 32-bit range.

ticket: 8352
src/util/support/gmt_mktime.c