Commit 4e6c85ea authored by Rusty Russell's avatar Rusty Russell

crypto/sha256: fix up CCAN_CRYPTO_SHA256_USE_OPENSSL implementation.

sha256_update_bytes is sha256_update since f989a43b.
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent be7d990d
...@@ -36,7 +36,7 @@ void sha256_init(struct sha256_ctx *ctx) ...@@ -36,7 +36,7 @@ void sha256_init(struct sha256_ctx *ctx)
SHA256_Init(&ctx->c); 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); check_sha256(ctx);
SHA256_Update(&ctx->c, p, size); SHA256_Update(&ctx->c, p, size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment