summaryrefslogtreecommitdiffstats
path: root/include/digest.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/digest.h')
-rw-r--r--include/digest.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/digest.h b/include/digest.h
index a87e29bd2..474bdd160 100644
--- a/include/digest.h
+++ b/include/digest.h
@@ -113,6 +113,11 @@ static inline struct digest *digest_alloc(const char *name)
return NULL;
}
+static inline struct digest *digest_alloc_by_algo(enum hash_algo algo)
+{
+ return NULL;
+}
+
static inline void digest_free(struct digest *d)
{
}