[openssl/openssl] ea598f: test: Invert bad TEST() condition calls

'Tomáš Mráz' via openssl-commits <[email protected]>
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-3.6/[email protected]>
  Branch: refs/heads/openssl-3.6
  Home:   https://github.com/openssl/openssl
  Commit: ea598f5dd23f1d64d8952e20fcf95d9f3a21d654
      https://github.com/openssl/openssl/commit/ea598f5dd23f1d64d8952e20fcf95d9f3a21d654
  Author: Tomas Mraz <[email protected]>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M test/ca_internals_test.c
    M test/evp_extra_test2.c
    M test/hpke_test.c
    M test/http_test.c
    M test/pkcs12_api_test.c
    M test/punycode_test.c
    M test/radix/quic_tests.c
    M test/secmemtest.c
    M test/sslapitest.c

  Log Message:
  -----------
  test: Invert bad TEST() condition calls

False result of a TEST_xxx() call should always indicate
erroneous condition.

Fix such calls. Also fix some calls which
treated TEST_xxx() result as non-boolean.

Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Norbert Pocs <[email protected]>
MergeDate: Mon Jun 15 07:38:52 2026
(Merged from https://github.com/openssl/openssl/pull/31457)

(cherry picked from commit 7c765bb6020b7c391dea8112f403e3b2109ff6dd)



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/openssl-3.6/3ded82-ea598f%40github.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.