Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 3838:c93b1c05436c stable-0.7
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
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 14 Dec 2010 19:29:57 +0000 |
parents | 9ccda889a355 |
children |
comparison
equal
deleted
inserted
replaced
3837:935c5eb13c7d | 3838:c93b1c05436c |
---|---|
549 | 549 |
550 return; | 550 return; |
551 } | 551 } |
552 | 552 |
553 if (n == 1) { | 553 if (n == 1) { |
554 if (buf[0] == 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) { | 554 if (buf[0] & 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) { |
555 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, rev->log, 0, | 555 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, rev->log, 0, |
556 "https ssl handshake: 0x%02Xd", buf[0]); | 556 "https ssl handshake: 0x%02Xd", buf[0]); |
557 | 557 |
558 rc = ngx_ssl_handshake(c); | 558 rc = ngx_ssl_handshake(c); |
559 | 559 |