comparison auto/modules @ 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 c70b7f4537e1
comparison
equal deleted inserted replaced
6602:bcd442b585f0 6603:9eefb38f0005
99 CRYPT_LIB= 99 CRYPT_LIB=
100 fi 100 fi
101 101
102 102
103 if [ $HTTP_CACHE = YES ]; then 103 if [ $HTTP_CACHE = YES ]; then
104 USE_MD5=YES
105 have=NGX_HTTP_CACHE . auto/have 104 have=NGX_HTTP_CACHE . auto/have
106 HTTP_SRCS="$HTTP_SRCS $HTTP_FILE_CACHE_SRCS" 105 HTTP_SRCS="$HTTP_SRCS $HTTP_FILE_CACHE_SRCS"
107 fi 106 fi
108 107
109 108
520 519
521 . auto/module 520 . auto/module
522 fi 521 fi
523 522
524 if [ $HTTP_AUTH_BASIC = YES ]; then 523 if [ $HTTP_AUTH_BASIC = YES ]; then
525 USE_MD5=YES
526 USE_SHA1=YES
527 have=NGX_CRYPT . auto/have 524 have=NGX_CRYPT . auto/have
528 525
529 ngx_module_name=ngx_http_auth_basic_module 526 ngx_module_name=ngx_http_auth_basic_module
530 ngx_module_incs= 527 ngx_module_incs=
531 ngx_module_deps= 528 ngx_module_deps=
680 . auto/module 677 . auto/module
681 fi 678 fi
682 679
683 if [ $HTTP_PROXY = YES ]; then 680 if [ $HTTP_PROXY = YES ]; then
684 have=NGX_HTTP_X_FORWARDED_FOR . auto/have 681 have=NGX_HTTP_X_FORWARDED_FOR . auto/have
685 #USE_MD5=YES
686 682
687 ngx_module_name=ngx_http_proxy_module 683 ngx_module_name=ngx_http_proxy_module
688 ngx_module_incs= 684 ngx_module_incs=
689 ngx_module_deps= 685 ngx_module_deps=
690 ngx_module_srcs=src/http/modules/ngx_http_proxy_module.c 686 ngx_module_srcs=src/http/modules/ngx_http_proxy_module.c
770 766
771 . auto/module 767 . auto/module
772 fi 768 fi
773 769
774 if [ $HTTP_SECURE_LINK = YES ]; then 770 if [ $HTTP_SECURE_LINK = YES ]; then
775 USE_MD5=YES
776
777 ngx_module_name=ngx_http_secure_link_module 771 ngx_module_name=ngx_http_secure_link_module
778 ngx_module_incs= 772 ngx_module_incs=
779 ngx_module_deps= 773 ngx_module_deps=
780 ngx_module_srcs=src/http/modules/ngx_http_secure_link_module.c 774 ngx_module_srcs=src/http/modules/ngx_http_secure_link_module.c
781 ngx_module_libs= 775 ngx_module_libs=