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

Matt Caswell noreply at github.com
Wed May 1 07:58:37 UTC 2024


  Branch: refs/heads/openssl-3.3
  Home:   https://github.com/openssl/openssl
  Commit: eb3b903af9b8de754f198a4ea5ea239f3721e3ee
      https://github.com/openssl/openssl/commit/eb3b903af9b8de754f198a4ea5ea239f3721e3ee
  Author: Matt Caswell <matt at openssl.org>
  Date:   2024-05-01 (Wed, 01 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: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Neil Horman <nhorman at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23966)

(cherry picked from commit afb6ce0d0f5b8e88f8b4f420aba0a8e59f58934f)


  Commit: 91d5fd54ee3ad87b5d3a57668e8dc9495d72bab6
      https://github.com/openssl/openssl/commit/91d5fd54ee3ad87b5d3a57668e8dc9495d72bab6
  Author: Matt Caswell <matt at openssl.org>
  Date:   2024-05-01 (Wed, 01 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: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Neil Horman <nhorman at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23966)

(cherry picked from commit 1848c561ec39a9ea91ff1bf740a554be274f98b0)


Compare: https://github.com/openssl/openssl/compare/bbae0c9f05f3...91d5fd54ee3a

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