summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/hash/hash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/hash/hash.c b/ext/hash/hash.c
index 02c16877db..b0fe0c0323 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}
};
/* }}} */