From d8b8542d59736bbf7c2cc1fbceb14310e5630a03 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Wed, 19 Jun 2013 15:10:26 +0200 Subject: [PATCH] Declare "sha1_init" statically to avoid naming conflicts if linked statically with other libraries providing a method with the same name (e.g. OpenSSL). --- lib/sha-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sha-1.c b/lib/sha-1.c index 6020c227..1491502d 100644 --- a/lib/sha-1.c +++ b/lib/sha-1.c @@ -215,7 +215,7 @@ sha1_step(struct sha1_ctxt *ctxt) /*------------------------------------------------------------*/ -void +static void sha1_init(struct sha1_ctxt *ctxt) { bzero(ctxt, sizeof(struct sha1_ctxt));