aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-04-01 15:18:29 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-04-01 15:18:29 +0000
commit502252d43ae2ce0786d420ba01408cd6355bd100 (patch)
tree93fd34eb6f48a9fd3a937812651a5c941bee8d11 /src
parent6bdcc58a9cf60db8ea87716f97496319f21631e1 (diff)
downloadnginx-502252d43ae2ce0786d420ba01408cd6355bd100.tar.gz
nginx-502252d43ae2ce0786d420ba01408cd6355bd100.zip
MSVC8 compatibility with OpenSSL 1.0.0
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event_openssl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c
index 4a05444a0..5eab4affb 100644
--- 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);