deps: upgrade openssl sources to 1.0.2d
authorShigeki Ohtsu <ohtsu@iij.ad.jp>
Thu, 9 Jul 2015 12:57:23 +0000 (21:57 +0900)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 9 Jul 2015 15:57:34 +0000 (17:57 +0200)
commitca93f7f2e646127f25b99501ce683158b274713e
tree791e752df6a7effb6c9052ac0046f6a966bedddb
parent6bef15afe75e924eb51e6b54eabab85fa253f56d
deps: upgrade openssl sources to 1.0.2d

This just replaces all sources of openssl-1.0.2d.tar.gz
into deps/openssl/openssl

deps: copy all openssl header files to include dir

All symlink files in `deps/openssl/openssl/include/openssl/`
 are removed and replaced with real header files to avoid
issues on Windows.

deps: fix openssl assembly error on ia32 win32

`x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
perhaps others) are requiring .686 .

Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
deps: fix asm build error of openssl in x86_win32

See
https://mta.openssl.org/pipermail/openssl-dev/2015-February/000651.html

iojs needs to stop using masm and move to nasm or yasm on Win32.

Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
openssl: fix keypress requirement in apps on win32

Reapply b910613792dac946b295855963869933a9089044 .

Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
deps: add -no_rand_screen to openssl s_client

In openssl s_client on Windows, RAND_screen() is invoked to initialize
random state but it takes several seconds in each connection.
This added -no_rand_screen to openssl s_client on Windows to skip
RAND_screen() and gets a better performance in the unit test of
test-tls-server-verify.
Do not enable this except to use in the unit test.

Fixes: https://github.com/nodejs/io.js/issues/1461
PR-URL: https://github.com/nodejs/io.js/pull/1836
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: https://github.com/nodejs/io.js/pull/2141
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
54 files changed:
deps/openssl/openssl/CHANGES
deps/openssl/openssl/Makefile
deps/openssl/openssl/Makefile.bak
deps/openssl/openssl/Makefile.org
deps/openssl/openssl/NEWS
deps/openssl/openssl/README
deps/openssl/openssl/apps/ocsp.c
deps/openssl/openssl/crypto/bio/bio.h
deps/openssl/openssl/crypto/bn/Makefile
deps/openssl/openssl/crypto/bn/bn_exp.c
deps/openssl/openssl/crypto/bn/bntest.c
deps/openssl/openssl/crypto/bn/rsaz_exp.c
deps/openssl/openssl/crypto/bn/rsaz_exp.h
deps/openssl/openssl/crypto/cms/cms_smime.c
deps/openssl/openssl/crypto/evp/e_aes.c
deps/openssl/openssl/crypto/hmac/hmactest.c
deps/openssl/openssl/crypto/opensslconf.h.in
deps/openssl/openssl/crypto/opensslv.h
deps/openssl/openssl/crypto/pkcs12/p12_kiss.c
deps/openssl/openssl/crypto/srp/srptest.c
deps/openssl/openssl/crypto/threads/mttest.c
deps/openssl/openssl/crypto/threads/pthread2.sh
deps/openssl/openssl/crypto/x509/Makefile
deps/openssl/openssl/crypto/x509/verify_extra_test.c [new file with mode: 0644]
deps/openssl/openssl/crypto/x509/x509_vfy.c
deps/openssl/openssl/doc/apps/verify.pod
deps/openssl/openssl/doc/crypto/X509_NAME_get_index_by_NID.pod
deps/openssl/openssl/doc/crypto/X509_STORE_CTX_new.pod
deps/openssl/openssl/doc/crypto/X509_verify_cert.pod
deps/openssl/openssl/doc/ssl/SSL_CTX_get0_param.pod [new file with mode: 0644]
deps/openssl/openssl/doc/ssl/SSL_CTX_use_serverinfo.pod
deps/openssl/openssl/include/openssl/bio.h
deps/openssl/openssl/include/openssl/opensslconf.h
deps/openssl/openssl/include/openssl/opensslv.h
deps/openssl/openssl/openssl.spec
deps/openssl/openssl/ssl/s3_clnt.c
deps/openssl/openssl/ssl/s3_lib.c
deps/openssl/openssl/ssl/s3_srvr.c
deps/openssl/openssl/test/Makefile
deps/openssl/openssl/test/certs/bad.key [new file with mode: 0644]
deps/openssl/openssl/test/certs/bad.pem [new file with mode: 0644]
deps/openssl/openssl/test/certs/interCA.key [new file with mode: 0644]
deps/openssl/openssl/test/certs/interCA.pem [new file with mode: 0644]
deps/openssl/openssl/test/certs/leaf.key [new file with mode: 0644]
deps/openssl/openssl/test/certs/leaf.pem [new file with mode: 0644]
deps/openssl/openssl/test/certs/rootCA.key [new file with mode: 0644]
deps/openssl/openssl/test/certs/rootCA.pem [new file with mode: 0644]
deps/openssl/openssl/test/certs/roots.pem [new file with mode: 0644]
deps/openssl/openssl/test/certs/subinterCA-ss.pem [new file with mode: 0644]
deps/openssl/openssl/test/certs/subinterCA.key [new file with mode: 0644]
deps/openssl/openssl/test/certs/subinterCA.pem [new file with mode: 0644]
deps/openssl/openssl/test/certs/untrusted.pem [new file with mode: 0644]
deps/openssl/openssl/test/testssl
deps/openssl/openssl/test/verify_extra_test.c [new symlink]