aboutsummaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/e_os.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-05-01 16:21:21 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-05-01 16:45:31 +0200
commit2cf7e5de6f0af289f231ff499ef1acf731e9f3b1 (patch)
treee46d0e6f98bf52fe10495c73a933b3267c140afb /deps/openssl/openssl/e_os.h
parentdda7b402044a4ecde60baf386cb54997fbd570a1 (diff)
downloadandroid-node-v8-2cf7e5de6f0af289f231ff499ef1acf731e9f3b1.tar.gz
android-node-v8-2cf7e5de6f0af289f231ff499ef1acf731e9f3b1.tar.bz2
android-node-v8-2cf7e5de6f0af289f231ff499ef1acf731e9f3b1.zip
Revert "deps: downgrade openssl to v1.0.0f"
After much investigation it turns out that the affected servers are buggy. user-service.condenastdigital.com:443 in particular seems to reject large TLS handshake records. Cutting down the number of advertised ciphers or disabling SNI fixes the issue. Similarly, passing { secureOptions: constants.SSL_OP_NO_TLSv1_2 } seems to fix most connection issues with IIS servers. Having to work around buggy servers is annoying for our users but not a reason to downgrade OpenSSL. Therefore, revert it. This reverts commit 4fdb8acdaef4c3cb1d855e992ada0e63fee520a6.
Diffstat (limited to 'deps/openssl/openssl/e_os.h')
-rw-r--r--deps/openssl/openssl/e_os.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/deps/openssl/openssl/e_os.h b/deps/openssl/openssl/e_os.h
index 5ceeeeb950..79c1392573 100644
--- a/deps/openssl/openssl/e_os.h
+++ b/deps/openssl/openssl/e_os.h
@@ -99,7 +99,6 @@ extern "C" {
# ifndef MAC_OS_GUSI_SOURCE
# define MAC_OS_pre_X
# define NO_SYS_TYPES_H
- typedef long ssize_t;
# endif
# define NO_SYS_PARAM_H
# define NO_CHMOD
@@ -340,8 +339,6 @@ static unsigned int _strlen31(const char *str)
# define OPENSSL_NO_POSIX_IO
# endif
-# define ssize_t long
-
# if defined (__BORLANDC__)
# define _setmode setmode
# define _O_TEXT O_TEXT
@@ -456,9 +453,6 @@ static unsigned int _strlen31(const char *str)
* (unless when compiling with -D_POSIX_SOURCE,
* which doesn't work for us) */
# endif
-# if defined(NeXT) || defined(OPENSSL_SYS_NEWS4) || defined(OPENSSL_SYS_SUNOS)
-# define ssize_t int /* ditto */
-# endif
# ifdef OPENSSL_SYS_NEWS4 /* setvbuf is missing on mips-sony-bsd */
# define setvbuf(a, b, c, d) setbuffer((a), (b), (d))
typedef unsigned long clock_t;
@@ -637,12 +631,6 @@ static unsigned int _strlen31(const char *str)
#endif
-#if defined(__ultrix)
-# ifndef ssize_t
-# define ssize_t int
-# endif
-#endif
-
#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
/* include headers first, so our defines don't break it */
#include <stdlib.h>