diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 02c16877db8..b0fe0c03232 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -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} }; /* }}} */