Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-26 18:28:06 +0400
committerIgor Sysoev <igor@sysoev.ru>2009-05-26 18:28:06 +0400
commit03ab5fcdb8d3363269c17970486913c2b0c8a609 (patch)
tree9ddc5fcb54f99a3327c201ede64b24e218b10faa /auto/lib/conf
parent77adc0d6c272af9e7d1a49277388520cb80934c7 (diff)
use md5/sha1 in OpenSSL only if OpenSSL is used
Diffstat (limited to 'auto/lib/conf')
-rw-r--r--auto/lib/conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/lib/conf b/auto/lib/conf
index a4155e1ba..7da80e792 100644
--- a/auto/lib/conf
+++ b/auto/lib/conf
@@ -12,7 +12,7 @@ fi
if [ $USE_MD5 = YES ]; then
- if [ $OPENSSL != NONE -a $OPENSSL != NO ]; then
+ if [ $USE_OPENSSL = YES ]; then
have=NGX_HAVE_OPENSSL_MD5_H . auto/have
have=NGX_OPENSSL_MD5 . auto/have
MD5=YES
@@ -26,7 +26,7 @@ fi
if [ $USE_SHA1 = YES ]; then
- if [ $OPENSSL != NONE -a $OPENSSL != NO ]; then
+ if [ $USE_OPENSSL = YES ]; then
have=NGX_HAVE_OPENSSL_SHA1_H . auto/have
SHA1=YES
SHA1_LIB=OpenSSL