comparison auto/lib/conf @ 6603:9eefb38f0005

Internal md5 and sha1 implementations are now always used. This reduces the number of moving parts in ABI compatibility checks. Additionally, it also allows to use OpenSSL in FIPS mode while still using md5 for non-security tasks.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 30 Jun 2016 18:57:39 +0300
parents 39a806ccf21e
children cc7ff76df927
comparison
equal deleted inserted replaced
6602:bcd442b585f0 6603:9eefb38f0005
21 fi 21 fi
22 22
23 23
24 if [ $USE_OPENSSL = YES ]; then 24 if [ $USE_OPENSSL = YES ]; then
25 . auto/lib/openssl/conf 25 . auto/lib/openssl/conf
26 fi
27
28 if [ $USE_MD5 = YES ]; then
29
30 if [ $USE_OPENSSL = YES ]; then
31 have=NGX_HAVE_OPENSSL_MD5_H . auto/have
32 have=NGX_OPENSSL_MD5 . auto/have
33 have=NGX_HAVE_MD5 . auto/have
34 MD5=YES
35 MD5_LIB=OpenSSL
36
37 else
38 . auto/lib/md5/conf
39 fi
40
41 fi
42
43 if [ $USE_SHA1 = YES ]; then
44
45 if [ $USE_OPENSSL = YES ]; then
46 have=NGX_HAVE_OPENSSL_SHA1_H . auto/have
47 have=NGX_HAVE_SHA1 . auto/have
48 SHA1=YES
49 SHA1_LIB=OpenSSL
50
51 else
52 . auto/lib/sha1/conf
53 fi
54
55 fi 26 fi
56 27
57 if [ $USE_ZLIB = YES ]; then 28 if [ $USE_ZLIB = YES ]; then
58 . auto/lib/zlib/conf 29 . auto/lib/zlib/conf
59 fi 30 fi