Mercurial > hg > nginx
diff src/event/ngx_event_openssl.c @ 3488:92378c49456d
MSVC8 compatibility with OpenSSL 1.0.0
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 01 Apr 2010 15:18:29 +0000 |
parents | 7f99ce2247f9 |
children | dd1570b6f237 |
line wrap: on
line diff
--- a/src/event/ngx_event_openssl.c +++ b/src/event/ngx_event_openssl.c @@ -561,6 +561,9 @@ ngx_ssl_handshake(ngx_connection_t *c) #if (NGX_DEBUG) { char buf[129], *s, *d; +#if OPENSSL_VERSION_NUMBER >= 0x1000000fL + const +#endif SSL_CIPHER *cipher; cipher = SSL_get_current_cipher(c->ssl->connection);