Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

openssl: disable EC_NISTP_64_GCC_128 on ia32 #4008

Closed
wants to merge 1 commit into from

2 participants

@shigeki

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 closed this pull request from a commit
@shigeki shigeki openssl: disable EC_NISTP_64_GCC_128 on ia32
uint128_t won't work on 32-bit platform

Closes #4008.
1bcf29e
@TooTallNate
Owner

Thanks @shigeki, merged in 1bcf29e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 13, 2012
  1. @shigeki

    openssl: disable EC_NISTP_64_GCC_128 on ia32

    shigeki authored
    uint128_t won't work on 32-bit platform
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  deps/openssl/openssl.gyp
View
3  deps/openssl/openssl.gyp
@@ -686,6 +686,9 @@
}],
['target_arch=="ia32"', {
'variables': {'openssl_config_path': 'config/piii'},
+ 'defines': [
+ 'OPENSSL_NO_EC_NISTP_64_GCC_128'
+ ],
'sources': [
'openssl/crypto/bn/bn_asm.c',
]
Something went wrong with that request. Please try again.