[openssl/openssl] a14f15: Use OSSL_TIME instead of using arithmetic directly...

Matt Caswell noreply at github.com
Tue May 7 10:08:04 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: a14f15da406799f86eb4fff16356ab38f03893b9
      https://github.com/openssl/openssl/commit/a14f15da406799f86eb4fff16356ab38f03893b9
  Author: Matt Caswell <matt at openssl.org>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M test/sslapitest.c

  Log Message:
  -----------
  Use OSSL_TIME instead of using arithmetic directly on time_t

We have functions for adding/subtracting time. We should use them.

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24319)


  Commit: 9583f3fefdaf4fe60e51f06ccdba1c67e30d8341
      https://github.com/openssl/openssl/commit/9583f3fefdaf4fe60e51f06ccdba1c67e30d8341
  Author: Matt Caswell <matt at openssl.org>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M test/build.info
    M test/sslapitest.c

  Log Message:
  -----------
  Fix intermittent sslapitest early data related failures

Early data is time sensitive. We have an approx 8 second allowance between
writing the early data and reading it. If we exceed that time tests will
fail. This can sometimes (rarely) occur in normal CI operation. We can try
and detect this and just ignore the result of such test failures if the test
has taken too long. We assume anything over 7 seconds is too long.

This is a partial fix for #22605

Reviewed-by: Neil Horman <nhorman at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24319)


Compare: https://github.com/openssl/openssl/compare/63158eb2419c...9583f3fefdaf

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list