mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
MSVC8 compatibility with OpenSSL 1.0.0
This commit is contained in:
parent
6bdcc58a9c
commit
502252d43a
@ -19,6 +19,8 @@ if [ $OPENSSL != NONE ]; then
|
||||
|
||||
# libeay32.lib requires gdi32.lib
|
||||
CORE_LIBS="$CORE_LIBS gdi32.lib"
|
||||
# OpenSSL 1.0.0 requires crypt32.lib
|
||||
CORE_LIBS="$CORE_LIBS crypt32.lib"
|
||||
;;
|
||||
|
||||
*)
|
||||
|
@ -5,8 +5,7 @@
|
||||
all:
|
||||
cd $(OPENSSL)
|
||||
|
||||
perl Configure BC-32 no-shared --prefix=openssl -DNO_SYS_TYPES_H \
|
||||
$(OPENSSL_OPT)
|
||||
perl Configure BC-32 no-shared --prefix=openssl $(OPENSSL_OPT)
|
||||
|
||||
ms\do_nasm
|
||||
|
||||
|
@ -5,8 +5,7 @@
|
||||
all:
|
||||
cd $(OPENSSL)
|
||||
|
||||
perl Configure VC-WIN32 no-shared --prefix=openssl -DNO_SYS_TYPES_H \
|
||||
$(OPENSSL_OPT)
|
||||
perl Configure VC-WIN32 no-shared --prefix=openssl $(OPENSSL_OPT)
|
||||
|
||||
ms\do_ms
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user