Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tls: make tls a little bit faster

Compile OpenSSL with inline assembly for big numbers
  • Loading branch information...
commit d923269e13f903b02506d86f138369586862364e 1 parent 3ea0397
Fedor Indutny indutny authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 deps/openssl/openssl.gyp
9 deps/openssl/openssl.gyp
View
@@ -179,7 +179,6 @@
'openssl/crypto/bio/bss_null.c',
'openssl/crypto/bio/bss_sock.c',
'openssl/crypto/bn/bn_add.c',
- 'openssl/crypto/bn/bn_asm.c',
'openssl/crypto/bn/bn_blind.c',
'openssl/crypto/bn/bn_const.c',
'openssl/crypto/bn/bn_ctx.c',
@@ -650,9 +649,15 @@
}],
['target_arch=="ia32"', {
'variables': {'openssl_config_path': 'config/piii'},
+ 'sources': [
+ 'openssl/crypto/bn/bn_asm.c',
+ ]
}, {
'variables': {'openssl_config_path': 'config/k8'},
- }],
+ 'sources': [
+ 'openssl/crypto/bn/asm/x86_64-gcc.c',
+ ]
+ }]
],
'include_dirs': [
'.',

3 comments on commit d923269

austinlcherry

this change breaks compiling for armv5t

Ben Noordhuis

@austinlcherry Can you open an issue for that? Please include the full output of configure and make (add V=1 to turn on verbose mode).

austinlcherry

I'm in the middle of compiling v0.8.2 on a very slow device right now. I'll try to revert to master and run in verbose mode tomorrow.

Please sign in to comment.
Something went wrong with that request. Please try again.