diff options
author | Tom Yu <tlyu@mit.edu> | 2011-07-11 17:53:25 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2011-07-11 17:53:25 +0000 |
commit | 478addb5c6b8b0cdb2454614d5226a23e7b0b356 (patch) | |
tree | 0def747888225f3eba4d3daac84604a54706989e /src/tests/gssapi/t_gssapi.py | |
parent | 99fbb4c5d5956428db3ae1307ffc29911e45aff5 (diff) | |
download | krb5-478addb5c6b8b0cdb2454614d5226a23e7b0b356.tar.gz krb5-478addb5c6b8b0cdb2454614d5226a23e7b0b356.tar.xz krb5-478addb5c6b8b0cdb2454614d5226a23e7b0b356.zip |
use timegm() for krb5int_gmt_mktime() when available
Use timegm() if it is available, so that krb5int_gmt_mktime()
functions correctly on systems configured with a "right"
(leap-second-aware) time zone. It is arguably an OS bug if a "right"
time zone can be configured on a system that lacks timegm().
Due to a current lack of evidence of affected systems, the additional
workaround of replacing gmtime() with a version that always ignores
leap seconds is deferred.
ticket: 6928
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25018 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests/gssapi/t_gssapi.py')
0 files changed, 0 insertions, 0 deletions