This repository has been archived by the owner. It is now read-only.

openssl: disable EC_NISTP_64_GCC_128 on ia32 #4008

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

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

openssl: disable EC_NISTP_64_GCC_128 on ia32
uint128_t won't work on 32-bit platform

Thanks @shigeki, merged in 1bcf29e.

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