mirror of
https://github.com/nginx/nginx.git
synced 2025-08-01 11:16:14 +08:00
SSL related fixes:
*) merge r3675: fix recognition of SSLv2 Client Hello Packet large than 255 bytes *) upgrade OpenSSL to 0.8.9q in nginx/Windows
This commit is contained in:
parent
217f8cea3a
commit
ad070b55b8
@ -5,7 +5,7 @@ NGINX = nginx-$(VER)
|
|||||||
TEMP = tmp
|
TEMP = tmp
|
||||||
|
|
||||||
OBJS = objs.msvc8
|
OBJS = objs.msvc8
|
||||||
OPENSSL = openssl-0.9.8n
|
OPENSSL = openssl-0.9.8q
|
||||||
ZLIB = zlib-1.2.3
|
ZLIB = zlib-1.2.3
|
||||||
PCRE = pcre-7.9
|
PCRE = pcre-7.9
|
||||||
|
|
||||||
|
@ -551,7 +551,7 @@ ngx_http_ssl_handshake(ngx_event_t *rev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (n == 1) {
|
if (n == 1) {
|
||||||
if (buf[0] == 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) {
|
if (buf[0] & 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) {
|
||||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, rev->log, 0,
|
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, rev->log, 0,
|
||||||
"https ssl handshake: 0x%02Xd", buf[0]);
|
"https ssl handshake: 0x%02Xd", buf[0]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user