[Heimdal-source-changes] [heimdal/heimdal] 68f5e2: hx509: replace time_t with int64_t for cert timest...

Jeffrey Altman noreply at github.com
Ons May 22 23:11:21 CEST 2019


  Branch: refs/heads/jaltman/hx509-64-bit-time
  Home:   https://github.com/heimdal/heimdal
  Commit: 68f5e27b4ea56c68df17f936b0cb3205a256a396
      https://github.com/heimdal/heimdal/commit/68f5e27b4ea56c68df17f936b0cb3205a256a396
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-05-22 (Wed, 22 May 2019)

  Changed paths:
    M lib/hx509/ca.c
    M lib/hx509/cert.c
    M lib/hx509/cms.c
    M lib/hx509/hx_locl.h
    M lib/hx509/hxtool.c
    M lib/hx509/print.c
    M lib/hx509/revoke.c

  Log Message:
  -----------
  hx509: replace time_t with int64_t for cert timestamps

On platforms with 32-bit time_t (e.g. Linux i386), certificates
with timestamps later than 03:14:07 UTC on 19 January 2038 fail
to be processed correctly.

Recent changes to include certificates in the test suite with
500 year lifetimes cause the test suite to fail on these platforms.

This change replaces all use of time_t with int64_t to permit
uniform processing of certificate timestamps on all platforms.

Change-Id: I8ada6392478f39862c62d5b6490682b026e49261




More information about the Heimdal-source-changes mailing list