Latest update - 7278

This commit is contained in:
2018-05-23 23:56:08 +09:00
parent fe81cd69c7
commit f94531f1ea
3 changed files with 16 additions and 21 deletions
-4
View File
@@ -21,10 +21,6 @@ ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
struct crypt_data cd;
cd.initialized = 0;
#ifdef __GLIBC__
/* work around the glibc bug */
cd.current_salt[0] = ~salt[0];
#endif
value = crypt_r((char *) key, (char *) salt, &cd);