out_calyptia: renamed flb_digest to flb_hash
#include <fluent-bit/flb_kv.h>
#include <fluent-bit/flb_upstream.h>
#include <fluent-bit/flb_utils.h>
-#include <fluent-bit/flb_digest.h>
+#include <fluent-bit/flb_hash.h>
#include <fluent-bit/flb_pack.h>
#include <fluent-bit/flb_version.h>
#include <fluent-bit/flb_metrics.h>
@@ -133,7 +133,7 @@ static int get_machine_id(struct flb_calyptia *ctx, char **out_buf, size_t *out_
return -1;
}
- ret = flb_digest_simple(FLB_DIGEST_SHA256,
+ ret = flb_hash_simple(FLB_HASH_SHA256,
(unsigned char *) buf,
s,
sha256_buf,
