Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
>
php-5.6.12
> php5-no-reentrant-crypt.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-no-reentrant-crypt.patch of Package php-5.6.12
Index: ext/standard/crypt.c =================================================================== --- ext/standard/crypt.c.orig +++ ext/standard/crypt.c @@ -247,6 +247,16 @@ PHPAPI int php_crypt(const char *passwor return SUCCESS; } } +# else + { + crypt_res = crypt(password, salt); + if (!crypt_res) { + return FAILURE; + } else { + *result = estrdup(crypt_res); + return SUCCESS; + } + } # endif #endif }