Files
Alyssa Sfravara 9eed284d49 Change !BN_copy() to BN_copy() == NULL
Per the coding style guide, Chapter 15, "Expressions"[1]:

    Do not use implicit checks for numbers (not) being 0 or pointers
    (not) being NULL.

Change occurrences of "!BN_copy(a, b)" checks to "BN_copy() == NULL"
to align with the coding style guide.

[1] https://www.openssl.org/policies/technical/coding-style.html#expressions

Resolves: https://github.com/openssl/openssl/issues/30565
CLA: trivial

Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
MergeDate: Tue Mar 31 00:10:41 2026
(Merged from https://github.com/openssl/openssl/pull/30573)
2026-03-31 02:07:19 +02:00
..
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00