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

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


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: afb6ce0d0f5b8e88f8b4f420aba0a8e59f58934f
      https://github.com/openssl/openssl/commit/afb6ce0d0f5b8e88f8b4f420aba0a8e59f58934f
  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)


  Commit: 1848c561ec39a9ea91ff1bf740a554be274f98b0
      https://github.com/openssl/openssl/commit/1848c561ec39a9ea91ff1bf740a554be274f98b0
  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)


Compare: https://github.com/openssl/openssl/compare/af75373eeab6...1848c561ec39

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