bn_ppc.c: Fix build failure on AIX with XLC/XLCLANG
authorTomas Mraz <tomas@openssl.org>
Thu, 13 Jan 2022 17:07:08 +0000 (18:07 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 17 Jan 2022 17:16:49 +0000 (18:16 +0100)
commit454358be49b55c313fe3781bc6f5f6c644787f87
treeafebca000f24b2d7d51fbd878deeb4575ff6d9f3
parent67397a6aeda3383bdc7c7165d8c0efe9423cc7a9
bn_ppc.c: Fix build failure on AIX with XLC/XLCLANG

These compilers define _ARCH_PPC64 for 32 bit builds
so we cannot depend solely on this define to identify
32 bit build.

Fixes #17087

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17497)

(cherry picked from commit cfbb5fcf4424395a1a23751556ea12c56b80b57e)
crypto/bn/bn_ppc.c