Expose sha1() and sha1_file() functions when core funcs not present

Not an issue yet, but could be...
This commit is contained in:
Sara Golemon 2005-11-18 20:17:31 +00:00
parent 5c213de12e
commit 614a3fb8a4

View File

@ -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}
};
/* }}} */