[openssl/openssl] eb5167: Fix the OSSL_TIME fallback in include/internal/e_os.h

Richard Levitte noreply at github.com
Wed Sep 14 11:01:52 UTC 2022

  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: eb51673e522855400a11de4569a3612c98c7b685
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2022-09-14 (Wed, 14 Sep 2022)

  Changed paths:
    M include/internal/e_os.h

  Log Message:
  Fix the OSSL_TIME fallback in include/internal/e_os.h

There's a fallback `ossl_sleep()` that uses `OSSL_TIME`.  However,
nothing was done to ensure that `OSSL_TIME` is defined.

Adding an inclusion of "internal/time.h" should be enough.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19214)

More information about the openssl-commits mailing list