diff options
author | Anthony Ferrara <ircmaxell@php.net> | 2012-07-11 22:15:56 -0400 |
---|---|---|
committer | Anthony Ferrara <ircmaxell@php.net> | 2012-07-11 22:15:56 -0400 |
commit | 707c9073b595a75447fbc25e01e7804293fad9b7 (patch) | |
tree | fcc253135fabe490574c5c74fc33de5275c54620 /ext/standard/php_password.h | |
parent | 99b7956ad58395853f7950ae01a43139413d348d (diff) | |
download | php-git-707c9073b595a75447fbc25e01e7804293fad9b7.tar.gz |
Switch second parameter to password_make_salt to be a flag
Diffstat (limited to 'ext/standard/php_password.h')
-rw-r--r-- | ext/standard/php_password.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/php_password.h b/ext/standard/php_password.h index 90e4d89bc4..8211ae1753 100644 --- a/ext/standard/php_password.h +++ b/ext/standard/php_password.h @@ -32,6 +32,9 @@ PHP_MINIT_FUNCTION(password); #define PHP_PASSWORD_DEFAULT 1 #define PHP_PASSWORD_BCRYPT 1 +#define PHP_PASSWORD_SALT_RAW 1 +#define PHP_PASSWORD_SALT_BCRYPT 2 + #define PHP_PASSWORD_BCRYPT_COST 10 #endif |