[openssl/openssl] f8c7d6: Fix time_t / integer compares in tls13tickettest
"'Neil Horman' via openssl-commits" <[email protected]>
| Newsgroups | gmane.comp.encryption.openssl.cvs |
|---|---|
| Message-ID | <openssl/openssl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: f8c7d65c6cea5710acf55e769ee37988c416217a
https://github.com/openssl/openssl/commit/f8c7d65c6cea5710acf55e769ee37988c416217a
Author: Neil Horman <[email protected]>
Date: 2026-08-19 (Wed, 19 Aug 2026)
Changed paths:
M test/tls13tickettest.c
Log Message:
-----------
Fix time_t / integer compares in tls13tickettest
Coverity flagged a few instances of the above test calling
SSL_SESSION_set_time_ex and casting the result to an int for comparison,
but ints are smaller than time_t's so we may get faulty comparisons.
Fix it by using the proper TEST_time_t_gt check instead of TEST_int_gt
Fixes https://scan5.scan.coverity.com/#/project-view/60762/10222?selectedIssue=1700237
Fixes https://scan5.scan.coverity.com/#/project-view/60762/10222?selectedIssue=1700236
Fixes https://scan5.scan.coverity.com/#/project-view/60762/10222?selectedIssue=1700235
Fixes https://scan5.scan.coverity.com/#/project-view/60762/10222?selectedIssue=1700234
Reviewed-by: Daniel Kubec <[email protected]>
Reviewed-by: Bob Beck <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Andrew Dinh <[email protected]>
MergeDate: Wed Aug 19 03:31:50 2026
(Merged from https://github.com/openssl/openssl/pull/32410)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
--
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/b9a8b0-f8c7d6%40github.com.