From 4e6c85eaeb58aaf576b4b2caf3795a8413ff3ec4 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 8 Jul 2015 16:03:29 +0930 Subject: [PATCH 1/1] crypto/sha256: fix up CCAN_CRYPTO_SHA256_USE_OPENSSL implementation. sha256_update_bytes is sha256_update since f989a43b55795c04a6225b392f3f58afd2cd6543. Signed-off-by: Rusty Russell --- ccan/crypto/sha256/sha256.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccan/crypto/sha256/sha256.c b/ccan/crypto/sha256/sha256.c index 4b1f8cdf..40da0b4b 100644 --- a/ccan/crypto/sha256/sha256.c +++ b/ccan/crypto/sha256/sha256.c @@ -36,7 +36,7 @@ void sha256_init(struct sha256_ctx *ctx) SHA256_Init(&ctx->c); } -void sha256_update_bytes(struct sha256_ctx *ctx, const void *p, size_t size) +void sha256_update(struct sha256_ctx *ctx, const void *p, size_t size) { check_sha256(ctx); SHA256_Update(&ctx->c, p, size); -- 2.39.2