Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve build error on systems that have a 32-bit time_t #104368

Merged
merged 4 commits into from
Jul 4, 2024

Commits on Jul 3, 2024

  1. Use unsigned arithmetic for 32-bit time check

    Previously, this was overflowing arithmetic between an unsigned and signed type, which is undefined behavior in C.
    
    Change the expression to use unsigned types for both operands, which also satisfies the compiler and no longer emits a warning.
    vcsjones committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    8e8e300 View commit details
    Browse the repository at this point in the history
  2. Update opensslshim.c

    vcsjones committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    8b504a1 View commit details
    Browse the repository at this point in the history
  3. Update opensslshim.c

    vcsjones committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    18c9020 View commit details
    Browse the repository at this point in the history
  4. Update opensslshim.c

    vcsjones committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    c079cc9 View commit details
    Browse the repository at this point in the history