diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2016-06-30 18:57:39 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-06-30 18:57:39 +0300 |
commit | c60b61a290960c1411d4da34d7f9265a43fd831b (patch) | |
tree | a9b68ca1d34e2c2399adc243f9b8274f718d1694 /auto/module | |
parent | fb6c764921dff3322b33ed2f5169b4c23f84bd9c (diff) |
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.
Diffstat (limited to 'auto/module')
-rw-r--r-- | auto/module | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/auto/module b/auto/module index 16a816f67..3b00a07f8 100644 --- a/auto/module +++ b/auto/module @@ -48,10 +48,14 @@ if [ "$ngx_module_link" = DYNAMIC ]; then fi ;; - PCRE | OPENSSL | MD5 | SHA1 | ZLIB) + PCRE | OPENSSL | ZLIB) eval USE_${lib}=YES ;; + MD5 | SHA1) + # obsolete + ;; + *) libs="$libs $lib" ;; @@ -79,10 +83,14 @@ elif [ "$ngx_module_link" = YES ]; then do case $lib in - PCRE | OPENSSL | MD5 | SHA1 | ZLIB | LIBXSLT | LIBGD | PERL | GEOIP) + PCRE | OPENSSL | ZLIB | LIBXSLT | LIBGD | PERL | GEOIP) eval USE_${lib}=YES ;; + MD5 | SHA1) + # obsolete + ;; + *) CORE_LIBS="$CORE_LIBS $lib" ;; @@ -109,10 +117,14 @@ elif [ "$ngx_module_link" = ADDON ]; then do case $lib in - PCRE | OPENSSL | MD5 | SHA1 | ZLIB | LIBXSLT | LIBGD | PERL | GEOIP) + PCRE | OPENSSL | ZLIB | LIBXSLT | LIBGD | PERL | GEOIP) eval USE_${lib}=YES ;; + MD5 | SHA1) + # obsolete + ;; + *) CORE_LIBS="$CORE_LIBS $lib" ;; |