-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from essentialkaos/develop
Version 1.11.5
- Loading branch information
Showing
7 changed files
with
333 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff -ur nginx-1.11.5/src/event/ngx_event_openssl.c nginx-1.11.5-patched/src/event/ngx_event_openssl.c | ||
--- nginx-1.11.5/src/event/ngx_event_openssl.c 2016-09-13 16:39:24.000000000 +0100 | ||
+++ nginx-1.11.5-patched/src/event/ngx_event_openssl.c 2016-09-17 17:33:34.705709306 +0100 | ||
@@ -2016,7 +2016,9 @@ | ||
|
||
/* handshake failures */ | ||
if (n == SSL_R_BAD_CHANGE_CIPHER_SPEC /* 103 */ | ||
+#ifdef SSL_R_BLOCK_CIPHER_PAD_IS_WRONG | ||
|| n == SSL_R_BLOCK_CIPHER_PAD_IS_WRONG /* 129 */ | ||
+#endif | ||
|| n == SSL_R_DIGEST_CHECK_FAILED /* 149 */ | ||
|| n == SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST /* 151 */ | ||
|| n == SSL_R_EXCESSIVE_MESSAGE_SIZE /* 152 */ | ||
@@ -2024,7 +2026,9 @@ | ||
#ifdef SSL_R_NO_CIPHERS_PASSED | ||
|| n == SSL_R_NO_CIPHERS_PASSED /* 182 */ | ||
#endif | ||
+#ifdef SSL_R_NO_CIPHERS_SPECIFIED | ||
|| n == SSL_R_NO_CIPHERS_SPECIFIED /* 183 */ | ||
+#endif | ||
|| n == SSL_R_NO_COMPRESSION_SPECIFIED /* 187 */ | ||
|| n == SSL_R_NO_SHARED_CIPHER /* 193 */ | ||
|| n == SSL_R_RECORD_LENGTH_MISMATCH /* 213 */ | ||
diff -ur nginx-1.11.5/src/http/ngx_http_upstream.c nginx-1.11.5-patched/src/http/ngx_http_upstream.c | ||
--- nginx-1.11.5/src/http/ngx_http_upstream.c 2016-09-13 16:39:25.000000000 +0100 | ||
+++ nginx-1.11.5-patched/src/http/ngx_http_upstream.c 2016-09-17 17:34:15.882031550 +0100 | ||
@@ -1694,7 +1694,7 @@ | ||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | ||
"upstream SSL server name: \"%s\"", name.data); | ||
|
||
- if (SSL_set_tlsext_host_name(c->ssl->connection, name.data) == 0) { | ||
+ if (SSL_set_tlsext_host_name(c->ssl->connection, (const char*) name.data) == 0) { | ||
ngx_ssl_error(NGX_LOG_ERR, r->connection->log, 0, | ||
"SSL_set_tlsext_host_name(\"%s\") failed", name.data); | ||
return NGX_ERROR; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.