import from rawhide
php-password-compat: backport