From: Rusty Russell Date: Wed, 8 Jul 2015 06:33:29 +0000 (+0930) Subject: crypto/sha256: fix up CCAN_CRYPTO_SHA256_USE_OPENSSL implementation. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=4e6c85eaeb58aaf576b4b2caf3795a8413ff3ec4;hp=be7d990d97fd2dcbb73915c4b9b98512dee96ba7 crypto/sha256: fix up CCAN_CRYPTO_SHA256_USE_OPENSSL implementation. sha256_update_bytes is sha256_update since f989a43b55795c04a6225b392f3f58afd2cd6543. Signed-off-by: Rusty Russell --- 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);