On Sun, Mar 9, 2014 at 9:06 AM, Dr. Stephen Henson <[email protected]> wrote:
> On Sun, Mar 09, 2014, Jeffrey Walton wrote:
>
>> I still have not found a solution to using OpenSSL with a C++ compiler.
>>
>> fips_premain.c makes the following declarations. They lack 'extern
>> "C"', so I've got unresolved symbols:
>>
>> ...
>>
>> Is fipsld considered sequestered?
>
> No fipsld is not sequestered. Any script which works in an equivalent way is
> acceptable. It must however include the same steps as fipsld including
> checking the signatures of fipscanister.o and fips_premain.c
I found the easiest work around was to wrap {PREMAIN_C} in -x c/-x none:
${CC} ${CANISTER_O_CMD:+"${CANISTER_O_CMD}"} \
-x c "${PREMAIN_C}" -x none \
${_WL_PREMAIN} "$@"
Jeff
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]