nginx-1.0.3
Wendal Chen
wendal1985 at gmail.com
Thu May 26 06:47:48 MSD 2011
I think there is the point:
in ngx_crypt.c
ngx_int_t
ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
{
if (ngx_strncmp(salt, "$apr1$", sizeof("$apr1$") - 1) == 0) {
return ngx_crypt_apr1(pool, key, salt, encrypted);
} else if (ngx_strncmp(salt, "{PLAIN}", sizeof("{PLAIN}") - 1) == 0) {
return ngx_crypt_plain(pool, key, salt, encrypted);
#if (NGX_HAVE_SHA1)
} else if (ngx_strncmp(salt, "{SSHA}", sizeof("{SSHA}") - 1) == 0) {
return ngx_crypt_ssha(pool, key, salt, encrypted);
#endif
}
/* fallback to libc crypt() */
return ngx_libc_crypt(pool, key, salt, encrypted);
}
and there is no libc crypt in my system.
So , I think is a bug .
2011/5/26 Wendal Chen <wendal1985 at gmail.com>
> It has a bug!
>
> Build with :
> ./configure --without-http_auth_basic_module && make
>
> objs/src/core/ngx_crypt.o: In function `ngx_crypt':
> ngx_crypt.c:(.text+0x7b): undefined reference to `ngx_libc_crypt'
> collect2: ld returned 1 exit status
> make[1]: *** [objs/nginx] Error 1
> make[1]: Leaving directory `/root/nginx-1.0.3'
> make: *** [build] Error 2
>
>
> But ok when:
> ./configure && make
>
>
> 2011/5/25 Igor Sysoev <igor at sysoev.ru>
>
>> Changes with nginx 1.0.3 25 May
>> 2011
>>
>> *) Feature: the "auth_basic_user_file" directive supports "$apr1",
>> "{PLAIN}", and "{SSHA}" password encryption methods.
>> Thanks to Maxim Dounin.
>>
>> *) Feature: the "geoip_org" directive and $geoip_org variable.
>> Thanks to Alexander Uskov, Arnaud Granal, and Denis F. Latypoff.
>>
>> *) Feature: ngx_http_geo_module and ngx_http_geoip_module support IPv4
>> addresses mapped to IPv6 addresses.
>>
>> *) Bugfix: a segmentation fault occurred in a worker process during
>> testing IPv4 address mapped to IPv6 address, if access or deny rules
>> were defined only for IPv6; the bug had appeared in 0.8.22.
>>
>> *) Bugfix: a cached reponse may be broken if proxy/fastcgi/scgi/
>> uwsgi_cache_bypass and proxy/fastcgi/scgi/uwsgi_no_cache directive
>> values were different; the bug had appeared in 0.8.46.
>>
>>
>> --
>> Igor Sysoev
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://nginx.org/mailman/listinfo/nginx
>>
>
>
>
> --
> Wendal Chen
> <http://t.sina.com.cn/1068040557?s=6uyXnP>
>
>
--
Wendal Chen
<http://t.sina.com.cn/1068040557?s=6uyXnP>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110526/357cfebb/attachment.html>
More information about the nginx
mailing list