openssl: disable EC_NISTP_64_GCC_128 on ia32 #4008

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@shigeki
shigeki commented Sep 13, 2012

Build was failed as below on my 32bit Linux.

/home/ohtsu/tmp/github/node/out/Release/obj.target/openssl/deps/openssl/openssl/crypto/ec/ecp_nistp224.o ../deps/openssl/openssl/crypto/ec/ecp_nistp224.c
../deps/openssl/openssl/crypto/ec/ecp_nistp224.c:43:3: error: unknown type name '__uint128_t'
../deps/openssl/openssl/crypto/ec/ecp_nistp224.c: In function 'widefelem_diff':

This is because typedef of uint128_t won't work on 32-bit platform. Please see https://github.com/joyent/node/blob/master/deps/openssl/openssl/crypto/ec/ecp_nistp224.c#L42

@shigeki shigeki openssl: disable EC_NISTP_64_GCC_128 on ia32
uint128_t won't work on 32-bit platform
ffa4f96
@TooTallNate TooTallNate added a commit that closed this pull request Sep 13, 2012
@shigeki @TooTallNate shigeki + TooTallNate openssl: disable EC_NISTP_64_GCC_128 on ia32
uint128_t won't work on 32-bit platform

Closes #4008.
1bcf29e
@TooTallNate

Thanks @shigeki, merged in 1bcf29e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment