[openssl/openssl] c2ebb7: pkcs7_test: disable time checks in pkcs7_verify_test

"'Abel Thomas' via openssl-commits" <[email protected]> Wed, 29 Jul 2026 09:55:34 -0700
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: c2ebb79f8d9153343e422bc6fb3195e4bcb4f782
      https://github.com/openssl/openssl/commit/c2ebb79f8d9153343e422bc6fb3195e4bcb4f782
  Author: Abel Thomas <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M test/pkcs7_test.c

  Log Message:
  -----------
  pkcs7_test: disable time checks in pkcs7_verify_test

The test certificate has a hardcoded validity period, making
`pkcs7_verify_test` fail when run under a faketime outside that
window. Set `X509_V_FLAG_NO_CHECK_TIME` on the store so verification
no longer depends on the system clock.

Fixes #31788

Reviewed-by: Andrew Dinh <[email protected]>
Reviewed-by: Jakub Zelenka <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
MergeDate: Wed Jul 29 16:54:09 2026
(Merged from https://github.com/openssl/openssl/pull/31890)



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/32f5a5-c2ebb7%40github.com.