mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
Expose sha1() and sha1_file() functions when core funcs not present
Not an issue yet, but could be...
This commit is contained in:
parent
5c213de12e
commit
614a3fb8a4
@ -314,6 +314,11 @@ function_entry hash_functions[] = {
|
||||
PHP_NAMED_FE(md5_file, php_if_md5_file, NULL)
|
||||
#endif /* PHP_HASH_MD5_NOT_IN_CORE */
|
||||
|
||||
#ifdef PHP_HASH_SHA1_NOT_IN_CORE
|
||||
PHP_NAMED_FE(sha1, php_if_sha1, NULL)
|
||||
PHP_NAMED_FE(sha1_file, php_if_sha1_file, NULL)
|
||||
#endif /* PHP_HASH_SHA1_NOT_IN_CORE */
|
||||
|
||||
{NULL, NULL, NULL}
|
||||
};
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user