Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Unified Diff: openssl.gyp

Issue 153373003: Fix of crash in e_rc4_hmac_md5.c caused by rc4-md5-x86_64.S. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/openssl.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl.gyp
diff --git a/openssl.gyp b/openssl.gyp
index 1b5430d7635a3ac077eaa254545c808d817ef066..d3bdbcaf1b2804e88ab66d7553343eac78e17645 100644
--- a/openssl.gyp
+++ b/openssl.gyp
@@ -65,20 +65,10 @@
['target_arch == "x64"', {
'sources': [ '<@(openssl_x86_64_sources)' ],
'sources!': [ '<@(openssl_x86_64_source_excludes)' ],
- 'conditions': [
- ['OS != "android"', {
- # Because rc4-x86_64.S has a problem,
- # We use the C rc4 source instead of the ASM source.
- # This hurts performance, but it's not a problem
- # because no production code uses openssl on x86-64.
- 'sources/': [
- ['exclude', 'openssl/crypto/rc4/asm/rc4-x86_64\\.S' ],
- ['include', 'openssl/crypto/rc4/rc4_enc\\.c' ],
- ['include', 'openssl/crypto/rc4/rc4_skey\\.c' ],
- ],
- }]
+ 'defines': [
+ '<@(openssl_x86_64_defines)',
+ 'RC4_INT=unsigned int'
wtc 2014/02/04 18:20:19 Summary: It seems better to change the RC4_INT def
],
- 'defines': [ '<@(openssl_x86_64_defines)' ],
'defines!': [ 'OPENSSL_NO_ASM' ],
'variables': {
# Ensure the 64-bit opensslconf.h header is used.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698