File php5-no-reentrant-crypt.patch of Package php54

Index: ext/standard/crypt.c
===================================================================
--- ext/standard/crypt.c
+++ ext/standard/crypt.c
@@ -302,6 +302,8 @@ PHP_FUNCTION(crypt)
 			RETURN_STRING(crypt_res, 1);
 		}
 	}
+# else
+	RETURN_STRING(crypt(str, salt), 1);
 # endif
 #endif
 }