Prefer GNU library initialization mechanism over platform one
authorJon Spillett <jon.spillett@oracle.com>
Thu, 21 Apr 2022 06:49:04 +0000 (16:49 +1000)
committerTomas Mraz <tomas@openssl.org>
Wed, 27 Apr 2022 08:08:19 +0000 (10:08 +0200)
commit2dc3a4a4a57eca0d9bebd87234c7d682506188fc
tree904e6227eaa06e5fd3327fd940a63cd70ecaf3bd
parent4b694f29ea78ab8a94e67c89d4d81df18c5e3bf1
Prefer GNU library initialization mechanism over platform one

If GNU toolchain is used, use the __attribute__((constructor))

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18147)
providers/fips/self_test.c