Skip to content

Commit

Permalink
out_s3: renamed flb_digest to flb_hash
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich committed Aug 12, 2022
1 parent 8f3fe9d commit 7ddb71f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/out_s3/s3.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <fluent-bit/flb_config_map.h>
#include <fluent-bit/flb_aws_util.h>
#include <fluent-bit/aws/flb_aws_compress.h>
#include <fluent-bit/flb_digest.h>
#include <fluent-bit/flb_hash.h>
#include <fluent-bit/flb_crypto.h>
#include <fluent-bit/flb_signv4.h>
#include <fluent-bit/flb_scheduler.h>
Expand Down Expand Up @@ -1468,9 +1468,9 @@ int get_md5_base64(char *buf, size_t buf_size, char *md5_str, size_t md5_str_siz
size_t olen;
int ret;

ret = flb_digest_simple(FLB_DIGEST_MD5,
(unsigned char *) buf, buf_size,
md5_bin, sizeof(md5_bin));
ret = flb_hash_simple(FLB_HASH_MD5,
(unsigned char *) buf, buf_size,
md5_bin, sizeof(md5_bin));

if (ret != FLB_CRYPTO_SUCCESS) {
return -1;
Expand Down

0 comments on commit 7ddb71f

Please sign in to comment.