Add openssl 0.9.8o

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@65201 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
openssl: fix gyp typo

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@65203 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
OpenSSL: remove a couple of test files from the build.

(They shouldn't have been included in the first place and were triggering
errors about multiple definitions of 'main'.)

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@65717 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Change third_party/openssl default CA certs path to match the ubuntu location (/etc/ssl)

Review URL: http://codereview.chromium.org/5710001

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@68738 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix capitalization in README.chromium.


git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@69192 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Formatting the readmes in deps to follow the proper format and making sure they contain Short Name and Version fields for version tracking.

BUG=None
TEST=N/A
Review URL: http://codereview.chromium.org/6624034

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@78071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove config/k8 from include_dirs

The config directory should be included depending on the platform. However, the
unconditional include of config/k8 means that 32-bit systems can get the 64-bit
config.

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@93379 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
The config should be switched based on the target_arch, not the host.

Also, delete the opensslconf.h from the source tree so that it doesn't
interfere with the build depending on the order of include paths.

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@93387 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
OpenSSL: include the config directory in the direct dependent settings too.

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@93618 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Guard #define with #ifndef

third_party/openssl/openssl/crypto/ui/ui_openssl.c:125:1: warning:
"_POSIX_C_SOURCE" redefined
In file included from /usr/include/unistd.h:26,
                from third_party/openssl/config/piii/openssl/opensslconf.h:132,
                from third_party/openssl/openssl/e_os2.h:56,
                from third_party/openssl/openssl/crypto/ui/ui_openssl.c:118:
/usr/include/features.h:210:1: warning: this is the location of the
previous definition

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7514045

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@94299 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Small refactorings on openssl.gyp.
Adds config/android/openssl/opensslconf.h:
* Copied from android's external/openssl/include/openssl/openssl.conf
Review URL: http://codereview.chromium.org/7920010

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@101745 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
It seemed that linux_chromeos_arm bot still use openssl,
Changed the linux logic to be same as one before issue 7920010.
Review URL: http://codereview.chromium.org/7948008

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@101988 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Include POSIX systems that aren't Linux.

http://codereview.chromium.org/8233003/

Patch-by: Robert Nagy


git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@105093 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Upgrade chrome's OpenSSL to same version Android ships with.

This change is basically from openssl.org with the patches applied as per patches/README in https://android.googlesource.com/platform/external/openssl, plus 3 patches for Chromium to pass compliation and tests. Please refer to b/5428019 for more details.

BUG=None
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/9254031

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@118977 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add flag to disable DTLS on Chromium's openssl.

BUG=None
TEST=SSL tests in net_unittest and unit_tests should pass

Review URL: http://codereview.chromium.org/9310106

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@121210 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
OpenSSL: Add support for keying material exporters (RFC 5705)

Review URL: http://codereview.chromium.org/9633002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@125658 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
OpenSSL: Disable specific warnings when using clang.

Fix disabling of all warnings when using gcc ('copts' is a noop).
Review URL: https://chromiumcodereview.appspot.com/9959115

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@130472 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add 'License Android Compatible' field to openssl license metadata

See http://codereview.chromium.org/10829272

BUG=138921
Review URL: https://chromiumcodereview.appspot.com/10855081

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@151471 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix a typo in the license metadata for openssl

BUG=138921
TBR=jnd
Review URL: https://chromiumcodereview.appspot.com/10837284

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@151890 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix warnings when building OpenSSL with clang.

third_party/openssl/openssl/crypto/bio/bss_dgram.c:512:5: error: passing 
'unsigned int *' to parameter of type 'socklen_t *' (aka 'int *') 
converts between pointers to integer types with different sign 
[-Werror,-Wpointer-sign] 
&sockopt_len)) < 0 || sockopt_val < 0) 
^~~~~~~~~~~~ 
/usr/local/google/code/chromium/src/third_party/android_tools/ndk//platforms/android-9/arch-arm/usr/include/sys/socket.h:73:63: note: 
passing argument to parameter here 
__socketcall int getsockopt(int, int, int, void *, socklen_t *); 
^ 

third_party/openssl/openssl/crypto/bio/bss_dgram.c:528:5: error: passing 
'unsigned int *' to parameter of type 'socklen_t *' (aka 'int *') 
converts between pointers to integer types with different sign 
[-Werror,-Wpointer-sign] 
&sockopt_len)) < 0 || sockopt_val < 0) 
^~~~~~~~~~~~ 

third_party/openssl/openssl/crypto/cryptlib.c:503:34: error: passing 
'volatile int *' to parameter of type 'void *' discards qualifiers 
[-Werror,-Wincompatible-pointer-types] 
CRYPTO_THREADID_set_pointer(id, &errno); 
^~~~~~ 
third_party/openssl/openssl/crypto/cryptlib.c:431:61: note: passing argument to 
parameter 'ptr' here 
void CRYPTO_THREADID_set_pointer(CRYPTO_THREADID *id, void *ptr) 
^ 

BUG=143931


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