mirror of
https://github.com/openssl/openssl.git
synced 2026-05-07 20:12:39 +00:00
9eed284d49
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)