comparison auto/module @ 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 2c7a2d75938a
comparison
equal deleted inserted replaced
6602:bcd442b585f0 6603:9eefb38f0005
46 if eval [ "\$USE_${lib}" = NO ] ; then 46 if eval [ "\$USE_${lib}" = NO ] ; then
47 eval USE_${lib}=DYNAMIC 47 eval USE_${lib}=DYNAMIC
48 fi 48 fi
49 ;; 49 ;;
50 50
51 PCRE | OPENSSL | MD5 | SHA1 | ZLIB) 51 PCRE | OPENSSL | ZLIB)
52 eval USE_${lib}=YES 52 eval USE_${lib}=YES
53 ;;
54
55 MD5 | SHA1)
56 # obsolete
53 ;; 57 ;;
54 58
55 *) 59 *)
56 libs="$libs $lib" 60 libs="$libs $lib"
57 ;; 61 ;;
77 81
78 for lib in $ngx_module_libs 82 for lib in $ngx_module_libs
79 do 83 do
80 case $lib in 84 case $lib in
81 85
82 PCRE | OPENSSL | MD5 | SHA1 | ZLIB | LIBXSLT | LIBGD | PERL | GEOIP) 86 PCRE | OPENSSL | ZLIB | LIBXSLT | LIBGD | PERL | GEOIP)
83 eval USE_${lib}=YES 87 eval USE_${lib}=YES
88 ;;
89
90 MD5 | SHA1)
91 # obsolete
84 ;; 92 ;;
85 93
86 *) 94 *)
87 CORE_LIBS="$CORE_LIBS $lib" 95 CORE_LIBS="$CORE_LIBS $lib"
88 ;; 96 ;;
107 115
108 for lib in $ngx_module_libs 116 for lib in $ngx_module_libs
109 do 117 do
110 case $lib in 118 case $lib in
111 119
112 PCRE | OPENSSL | MD5 | SHA1 | ZLIB | LIBXSLT | LIBGD | PERL | GEOIP) 120 PCRE | OPENSSL | ZLIB | LIBXSLT | LIBGD | PERL | GEOIP)
113 eval USE_${lib}=YES 121 eval USE_${lib}=YES
122 ;;
123
124 MD5 | SHA1)
125 # obsolete
114 ;; 126 ;;
115 127
116 *) 128 *)
117 CORE_LIBS="$CORE_LIBS $lib" 129 CORE_LIBS="$CORE_LIBS $lib"
118 ;; 130 ;;