Browse Source

crypto/sha256: fix up CCAN_CRYPTO_SHA256_USE_OPENSSL implementation.

sha256_update_bytes is sha256_update since f989a43b55795c04a6225b392f3f58afd2cd6543.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 10 years ago
parent
commit
4e6c85eaeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/crypto/sha256/sha256.c

+ 1 - 1
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);