Small patch to fix the "linux_redux" Chromium build.

Trying to DEPS roll the previous patch, which updates the
library to 1.0.1c, doesn't work for the following reason:

- third_party/libjingle is now referencing DTLSv1_client_method
  and DTLSv1_server_method, which were missing from openssl.gyp
  (this affects both Android and linux_redux builds).

- The piii/k8 configuration files didn't disable CAST5 and
  Whirlpool like the Android one, and the corresponding source
  files are missing from openssl.gyp.

- The piii config now enables inline assembly, but the
  source repository is missing the assembly source for
  the ia32 OPENSSL_setup_cpuid() function.

- The implementation source file for SHA-0 is not listed
  in openssl.gyp to match the Android build, which does
  explicitely disable this weak hash.

This patch is used to fix these issues in the most straightforward
way. It is possible to address the issues by adding missing source
files, but I'd rather do this in the upstream Android external/openssl
tree first, to minimize the differences between them.

BUG=137071
TEST=Passed net_unittests on both linux_redux and Android builds.

Review URL: https://chromiumcodereview.appspot.com/11467016

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@171794 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix x86 linux_redux build.

This should have been part of the previous patch. Not sure why this
was left out. Without this, the x64 build fails with a link error due
to undefined OPENSSL_setup_cpuid function.

BUG=137071
TBR=rsleevi@chromium.org
Review URL: https://codereview.chromium.org/11494005

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@172029 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove <(library) usage from openssl.gyp.

BUG=111541
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/11938032

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@177803 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Update the openssl sources to the latest Android version.

Compared to the previous version, this includes the following fixes:

- Remove "small_records.patch".
  https://android-review.googlesource.com/#/c/49977/

- Add support for TLS channel ID.
  https://android-review.googlesource.com/#/c/49984/

- Remove recursive lock in X509_PUBKEY_get.
  https://android-review.googlesource.com/#/c/50413/

- Add x86_64 assembly files and use them.
  https://android-review.googlesource.com/#/c/47913/
  https://android-review.googlesource.com/#/c/50401/
  https://android-review.googlesource.com/#/c/50402/

  This should only matter for the "linux_redux" build, and
  the net/tools/flip_server binary (flip_in_mem_edsm_server)
  which implements a host SPDY proxy.

- Remove obsolete patch file fix-clang-build.patch.
Review URL: https://codereview.chromium.org/12033053

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@178558 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix minor linking issues for the full linux_redux build.

This fixes the full 64-bit linux_redux build. net_unittests and
flip_in_memory_edsm_server did link properly, but there was minor
issues in the content browser code. Sorry about that.
Review URL: https://codereview.chromium.org/12047077

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@178597 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This CL upgrades OpenSSL to 1.0.1e with a twist :-)

It introduces a new way to completely automate the process of importing the sources from Android,
applying Chromium-specific patches, generating a 64-bit configuration header, and a gyp-specific build file.

For all details, please read README.chromium.
Review URL: https://codereview.chromium.org/12573005

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@188714 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
import_from_android.sh: Save subversion subdirectories

The previous commit didn't change the files under openssl/,
because the import_openssl.sh script used by import_from_android.sh
removes the 'openssl' directory completely to replace it with
new files.

This has the unfortunate side-effect of removing all .svn subdirs,
making it impossible to send the right set of changes during
"svn commit".

This patch modifies import_from_android.sh to save/restore the
subversion directories to avoid this problem.

BUG=none
TBR=wtc@chromium.org, rsleevi@google.com, agl@chromium.org
Review URL: https://codereview.chromium.org/12780010

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@188770 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Restore the x509_hash_name_alpgorithm_change patch.

This is needed to ensure that the linux_redux build runs its unit
tests properly on Lucid build bots.

+ Remove obsolete patches/ directory that wasn't removed in previous
  CL (everything is under openssl/patches/ now).
Review URL: https://codereview.chromium.org/12459028

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@190582 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Update the license file path in README.chromium

This is necessary to pass the webview_licenses.py check in the
Android automated builds.

BUG=None
R=rsleevi@chromium.org,agl@chromium.org,wtc@chromium.org

Review URL: https://chromiumcodereview.appspot.com/13304002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@191822 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Make openssl a component.

This is needed for the Android component build.
BUG=158821

Review URL: https://codereview.appspot.com/8246044

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@193445 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Only make OpenSSL a component for Android component builds.

Fixes an issue with attempted roll see on linux_clang:
http://build.chromium.org/p/tryserver.chromium/builders/linux_clang/builds/97781

BUG=158821

Review URL: https://codereview.chromium.org/13979005

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@194187 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[MIPS] Add build support for MIPS in openssl.gyp 

The gyp file missed support for MIPS arch. This caused a build break 
when content shell was built for MIPS. 

BUG=130022
TEST=build content shell for MIPS

Review URL: https://chromiumcodereview.appspot.com/14531003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@197066 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix the shared_library build on Linux.

Two source files need to be excluded for x86_64 because they are
replaced by openssl/crypto/bn/asm/x86_64-gcc.c and
openssl/crypto/rc4/asm/rc4-x86_64.S.

R=yfriedman@chromium.org,digit@chromium.org
BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/16272007

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@203545 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
merge with latest from upstream